login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A125894
a(n) = floor(((1+sqrt(2))/2)^n).
1
1, 1, 1, 2, 2, 3, 3, 4, 5, 6, 7, 9, 11, 13, 16, 20, 24, 29, 35, 43, 52, 62, 75, 91, 110, 133, 161, 194, 234, 283, 342, 412, 498, 601, 726, 876, 1058, 1277, 1541, 1861, 2246, 2712, 3273, 3951, 4770, 5758, 6951, 8390, 10128, 12226, 14758, 17814, 21504, 25957
OFFSET
1,4
LINKS
MATHEMATICA
Table[Floor[((1 + Sqrt[2])/2)^n], {n, 1, 100}]
PROG
(PARI) vector(100, n, floor(((1+sqrt(2))/2)^n)) \\ G. C. Greubel, Oct 02 2018
(Magma) [Floor(((1+Sqrt(2))/2)^n): n in [1..100]]; // G. C. Greubel, Oct 02 2018
CROSSREFS
Cf. A174968 ((1+sqrt(2))/2).
Sequence in context: A067661 A210024 A052839 * A091493 A305148 A058724
KEYWORD
nonn
AUTHOR
Artur Jasinski, Dec 13 2006
STATUS
approved