A004576 Expansion of sqrt(7) in base 9.
2, 5, 7, 2, 6, 6, 8, 6, 4, 4, 6, 3, 0, 8, 6, 5, 3, 5, 1, 7, 8, 0, 0, 0, 6, 4, 5, 4, 1, 1, 6, 8, 5, 6, 6, 0, 6, 4, 3, 2, 5, 4, 4, 4, 7, 1, 8, 8, 5, 7, 3, 4, 1, 2, 7, 4, 2, 1, 7, 2, 6, 2, 1, 3, 1, 1, 8, 7, 1, 3, 7, 4, 4, 6, 5, 6, 6, 6, 3, 1, 8, 5, 0, 8, 7, 4, 7, 8, 4, 1, 6, 8, 8, 0, 5, 1, 6, 3, 2, 0, 0, 3, 7, 0, 1
Offset: 1
Links
- G. C. Greubel, Table of n, a(n) for n = 1..10000
- Jason Kimberley, Index of expansions of sqrt(d) in base b
Crossrefs
Cf. A010465.
Programs
-
Magma
d:= 7; m:=9; Prune(Reverse(IntegerToSequence(Isqrt(d*m^100), m))); // G. C. Greubel, Mar 25 2018
-
Mathematica
RealDigits[Sqrt[7],9,105][[1]] (* Harvey P. Dale, Dec 07 2011 *)
Extensions
Corrected and extended by Harvey P. Dale, Dec 07 2011