EyeNewz Tech Get the app

Geeksforgeeks · Technology

Keith Number

Given an integer n, find if it is a Keith Number. A number with k digits is called a Keith Number if it appears in a special sequence generated as follows: The first k terms of the sequence are the digits of the number.Every subsequent term is the sum of the previous k terms.If the number itself

Read original Open in app

Licensed summary · LicensedSummary