A125894 a(n) = floor(((1+sqrt(2))/2)^n).
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
Keywords
Links
- G. C. Greubel, Table of n, a(n) for n = 1..10000
Programs
-
Magma
[Floor(((1+Sqrt(2))/2)^n): n in [1..100]]; // G. C. Greubel, Oct 02 2018
-
Mathematica
Table[Floor[((1 + Sqrt[2])/2)^n], {n, 1, 100}]
-
PARI
vector(100, n, floor(((1+sqrt(2))/2)^n)) \\ G. C. Greubel, Oct 02 2018