login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A078303 Generalized Fermat numbers: 6^(2^n) + 1, n >= 0. 5
7, 37, 1297, 1679617, 2821109907457, 7958661109946400884391937, 63340286662973277706162286946811886609896461828097 (list; graph; refs; listen; history; internal format)
OFFSET

0,1

COMMENTS

The next term is too large to include.

As for standard Fermat numbers 2^(2^n) + 1, a number (2b)^m + 1 (with b > 1) can only be prime if m is a power of 2. On the other hand, out of the first 13 base-6 Fermat numbers, only the first three are primes.

There are only 5 known Fermat primes of the form 2^(2^n) + 1: {3, 5, 17, 257, 65537}. There are only 2 known base-10 generalized Fermat primes of the form 10^(2^n) + 1: {11, 101}. - Alexander Adamchuk (alex(AT)kolmogorov.com), Mar 17 2007

Since all powers of 6 are congruent to 6 (mod 10), all terms of this sequence are congruent to 7 (mod 10). - Daniel Forgues, June 22 2011

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..12

Eric Weisstein's World of Mathematics, Generalized Fermat Number.

Anders Björn and Hans Riesel, Factors of Generalized Fermat Numbers, Mathematics of Computation, Vol. 67, No. 221, Jan., 1998, pp. 441-446.

OEIS Wiki, Generalized Fermat numbers

FORMULA

a(0) = 7, a(n) = (a(n-1)-1)^2 + 1, n >= 1.

a(n) = 5*a(n-1)*a(n-2)*...*a(1)*a(0) + 2, n >= 0, where for n = 0, we get 5*(empty product, i.e. 1)+ 2 = 7 = a(0). This implies that the terms are pairwise coprime. - Daniel Forgues, June 20 2011

EXAMPLE

a(0) = 6^1+1 = 7 = 5*(1)+2 = 5*(empty product)+2;

a(1) = 6^2+1 = 37 = 5*(7)+2;

a(2) = 6^4+1 = 1297 = 5*(7*37)+2;

a(3) = 6^8+1 = 1679617 = 5*(7*37*1297)+2;

a(4) = 6^16+1 = 2821109907457 = 5*(7*37*1297*1679617)+2;

a(5) = 6^32+1 = 7958661109946400884391937 = 5*(7*37*1297*1679617*2821109907457)+2;

PROG

(MAGMA) [6^(2^n) + 1: n in [0..8]]; // Vincenzo Librandi, Jun 20 2011

(PARI) a(n)=6^(2^n)+1 \\ Charles R Greathouse IV, Jun 21 2011

CROSSREFS

Cf. A000215 Fermat numbers: 2^(2^n) + 1.

Cf. A019434 Fermat primes of the form 2^(2^n) + 1.

Cf. A080176 for the binary representation of Fermat numbers.

Cf. A123669, A123599, A056993, A126032, A019434, A080176, A178428.

Sequence in context: A082687 A117731 A155010 * A127729 A129736 A003352

Adjacent sequences:  A078300 A078301 A078302 * A078304 A078305 A078306

KEYWORD

nonn,easy

AUTHOR

Eric Weisstein (eric(AT)weisstein.com), Nov 21, 2002

EXTENSIONS

Edited by Daniel Forgues, Wed Jun 22 2011.

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 21:30 EST 2012. Contains 205971 sequences.