OFFSET
0,1
REFERENCES
Alf van der Poorten, Notes on Fermat's Last Theorem, Wiley, 1996, p. 76.
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000
Peter Bala, Using Chebyshev polynomials to find the p-adic square roots of 2 and 3, Dec 2022.
FORMULA
Equals the 7-adic limit as n -> oo of 2*T(7^n,3/2) = the 7-adic limit as n -> oo of ((3 + sqrt(5))/2)^(7^n) + ((3 - sqrt(5))/2)^(7^n), where T(n,x) denotes the n-th Chebyshev polynomial of the first kind. - Peter Bala, Nov 20 2022
EXAMPLE
3 + 7 + 2*7^2 + 6*7^3 + 7^4 + 2*7^5 + 7^6 + ...
MAPLE
t := proc(n) option remember; if n = 1 then 3 else irem(t(n-1)^7 - 7*t(n-1)^5 + 14*t(n-1)^3 - 7*t(n-1), 7^n) end if; end:
convert(t(100), base, 7); # Peter Bala, Nov 20 2022
PROG
(PARI) Vecrev(digits(lift(sqrt(2+O(7^99))), 7)) \\ Joerg Arndt, Aug 05 2017
CROSSREFS
KEYWORD
nonn,easy,nice
AUTHOR
EXTENSIONS
Missing terms=0 inserted by Seiichi Manyama, Aug 04 2017
STATUS
approved