|
|
A104626
|
|
Numbers having three 1's in their base-phi representation.
|
|
5
|
|
|
4, 5, 6, 8, 19, 48, 124, 323, 844, 2208, 5779, 15128, 39604, 103683, 271444, 710648, 1860499, 4870848, 12752044, 33385283, 87403804, 228826128, 599074579, 1568397608, 4106118244, 10749957123, 28143753124, 73681302248
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
a(n) = Lucas(2*n-4) + 1, for n>3. - Ralf Stephan, Nov 13 2010
|
|
MATHEMATICA
|
Join[{4, 5, 6}, Table[LucasL[2*n-4] + 1, {n, 4, 50}]] (* G. C. Greubel, Aug 13 2018 *)
|
|
PROG
|
(PARI) for(n=1, 50, print1(if(n==1, 4, if(n==2, 5, if(n==3, 6, 1 + fibonacci(2*n-3) + fibonacci(2*n-5)))), ", ")) \\ G. C. Greubel, Aug 13 2018
(Magma) [4, 5, 6] cat [1 + Fibonacci(2*n-3) + Fibonacci(2*n-5): n in [4..50]]; // G. C. Greubel, Aug 13 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|