A017926 Powers of sqrt(7) rounded to nearest integer.
1, 3, 7, 19, 49, 130, 343, 907, 2401, 6352, 16807, 44467, 117649, 311270, 823543, 2178890, 5764801, 15252230, 40353607, 106765609, 282475249, 747359260, 1977326743, 5231514823, 13841287201, 36620603759
Offset: 0
Keywords
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..2000
Programs
-
Magma
[Round(Sqrt(7)^n): n in [0..40]]; // Vincenzo Librandi, Nov 19 2011
-
Mathematica
Floor[(Sqrt[7]^Range[0,40]+1/2)] (* Vincenzo Librandi, Nov 19 2011 *)
-
PARI
a(n)=round(sqrt(7)^n) \\ Charles R Greathouse IV, Nov 18 2011