|
|
A057146
|
|
The sequence 2, floor(a), floor(a^2), floor(a^3), ..., with a = 1+sqrt(5).
|
|
1
|
|
|
2, 3, 10, 33, 109, 354, 1148, 3716, 12026, 38918, 125943, 407562, 1318899, 4268047, 13811692, 44695576, 144637922, 468058148, 1514667986, 4901568568, 15861809082, 51329892437, 166107021206, 537533612162, 1739495309150, 5629125066952, 18216231370504
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
FORMULA
|
a(n) = floor( (1+sqrt(5))^n ) for n>0, a(0)=2. - Artur Jasinski, Nov 22 2006
|
|
MATHEMATICA
|
Join[{2}, Table[Floor[(Sqrt[5] + 1)^n], {n, 1, 30}]] (* Artur Jasinski, Nov 22 2006 *)
|
|
PROG
|
(PARI) a(n) = if (n==0, 2, floor((1+sqrt(5))^n)); \\ Michel Marcus, Feb 19 2016
(Magma) [2] cat [Floor((1+Sqrt(5))^n): n in [1..30]]; // Vincenzo Librandi, Feb 20 2016
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|