A017919 Powers of sqrt(5) rounded down.
1, 2, 5, 11, 25, 55, 125, 279, 625, 1397, 3125, 6987, 15625, 34938, 78125, 174692, 390625, 873464, 1953125, 4367320, 9765625, 21836601, 48828125, 109183006, 244140625, 545915033, 1220703125, 2729575167
Offset: 0
Keywords
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..1000
- Kival Ngaokrajang, Illustration of initial terms
Programs
-
Magma
[Floor(Sqrt(5^n)): n in [0..40]]; // Vincenzo Librandi, Nov 20 2011
-
Mathematica
Floor[(Sqrt[5])^Range[0,40]] (* Vincenzo Librandi, Nov 20 2011 *)
-
PARI
a(n)=sqrtint(5^n) \\ Charles R Greathouse IV, Nov 18 2011
-
Python
from math import isqrt def A017919(n): return isqrt(5**n) # Chai Wah Wu, Jun 19 2024
Comments