OFFSET
1,1
COMMENTS
Among bases b = 2 to 36, in b = 5 there is the third highest percentage of Keith numbers between b and b^3 (that is, numbers with two or three digits); only binary and ternary have more Keith numbers in that range.
EXAMPLE
a(2) = 9. In base 5, the number 9 is written 14, and the second order linear recurrence is then 1, 4, 5, 9, ... therefore 9 is a Keith number in base 5.
The number 14 is a Keith number in base 10 but not base 5, as we have: 2, 4, 6, 10, 16, ...
MATHEMATICA
(* First run the program for A186830 to define keithSeq *) Select[Range[5, 10^6], Last[keithSeq[#, 5]] == # &]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Alonso del Arte, Mar 17 2011
EXTENSIONS
Extended by T. D. Noe, Mar 23 2011
STATUS
approved