[go: up one dir, main page]

login
A004922
a(n) = floor(n*phi^7), where phi is the golden ratio, A001622.
25
0, 29, 58, 87, 116, 145, 174, 203, 232, 261, 290, 319, 348, 377, 406, 435, 464, 493, 522, 551, 580, 609, 638, 667, 696, 725, 754, 783, 812, 841, 871, 900, 929, 958, 987, 1016, 1045, 1074, 1103, 1132, 1161, 1190, 1219, 1248, 1277, 1306, 1335, 1364
OFFSET
0,2
MATHEMATICA
Table[Floor[n ((1 + Sqrt[5])/2)^7], {n, 0, 50}] (* Vincenzo Librandi, Jul 22 2015 *)
PROG
(Python)
from sympy import sqrt
phi = (1 + sqrt(5))/2
for n in range(0, 101): print(int(n*phi**7), end=', ') # Karl V. Keller, Jr., Jul 22 2015
(Magma) [Floor(n*((1 + Sqrt(5))/2)^7): n in [0..50]]; // Vincenzo Librandi, Jul 22 2015
KEYWORD
nonn
STATUS
approved