login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A346625 a(0) = 8; for n > 0, a(n) = a(n-1)^2 - 2. 1
8, 62, 3842, 14760962, 217885999165442, 47474308632322991920487055362, 2253809980117057347661794063813616885861274573005652951042 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
For n >= 2, the Fermat number F(n) = 2^(2^n) + 1 is prime if and only if F(n) divides a(2^n-2).
REFERENCES
Kusta Inkeri, Tests for primality, Ann. Acad. Sci. Fenn., A I No. 279 (1960), pp. 1-19.
M. Krizek, F. Luca, L. Somer, 17 Lectures on Fermat Numbers: From Number Theory to Geometry, CMS Books in Mathematics, vol. 9, Springer-Verlag, New York, 2001, p. 46.
LINKS
FORMULA
For n >= 2, a(n) = 2 + Sum_{k=1..2^(n-1)} (-1)^k*64^k*2^(n-1)*binomial(k + 2^(n-1) - 1, 2*k - 1)/k.
a(n) = ceiling(c^(2^n)) where c = 4 + sqrt(15) is the largest root of x^2 - 8*x + 1 = 0.
a(n) = (4 + sqrt(15))^(2^n) + (4 - sqrt(15))^(2^n).
a(n) = 2*T(2^n,4), where T(n,x) denotes the n-th Chebyshev polynomial of the first kind.
sqrt(5/3) = Product_{n >= 0} (1 + 2/a(n)).
2*sqrt(5/3)/3 = Product_{n >= 0} (1 - 1/a(n)).
a(n) = 2*A005828(n).
a(n) = A086903(2^n) = A220337(3*(n+1)).
MATHEMATICA
NestList[#^2 - 2 &, 8, 6]
PROG
(Magma) [8] cat [n eq 1 select 62 else Self(n-1)^2-2: n in [1..6]];
(PARI) {a(n)=if(n<1, 8*(n==0), a(n-1)^2-2)};
CROSSREFS
Sequence in context: A099335 A356238 A194930 * A132506 A080270 A371402
KEYWORD
nonn,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)