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!)
A157979 Least nonnegative k such that 3^(2^n)+k is prime. 1
0, 2, 2, 2, 26, 70, 92, 190, 788, 436, 86, 3032, 13622, 2810, 7562, 33172, 16942 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
The associated primes are in A157980.
All 3^(2^n)+a(n) = A157980(n) for n <= 11 are certified primes. - D. S. McNeil, Mar 15 2009
LINKS
Florentin Smarandache, Seven Conjectures in Geometry and Number Theory, arXiv:0903.1380 [math.GM], Mar 8, 2009.
FORMULA
a(n) = Min{k=>0 such that 3^(2^n))+k is prime} = Min{k=>0 such that A000244(A000079(n))+k is in A000040}.
EXAMPLE
a(0) = 0 because 3^2^0 + 0 = 3^1 + 0 = 3 is prime. a(1) = 2 because 3^2^1 + 2 = 3^2 + 0 = 3 is prime. a(2) = 2 because 3^4 + 2 = 83 is prime. a(3) = 2 because 3^8 + 2 = 6563 is prime. a(4) = 26 because 3^16 + 26 = 43046747 is prime. a(5) = 70 because 3^32 + 2 = 1853020188851911 is prime. a(6) = 92 because 3^64 + 2 = 3433683820292512484657849089373 is prime.
PROG
(PARI) { a(n) = nextprime( 3^(2^n) ) - 3^(2^n) } \\ Max Alekseyev, Sep 13 2009
CROSSREFS
Sequence in context: A153438 A098915 A095855 * A147975 A083148 A368204
KEYWORD
more,nonn
AUTHOR
Jonathan Vos Post, Mar 10 2009
EXTENSIONS
a(7) - a(11) from D. S. McNeil, Mar 15 2009
Three more terms from Max Alekseyev, Sep 13 2009
a(15)-a(16) from Donovan Johnson, Jul 11 2010
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 11:24 EDT 2024. Contains 371967 sequences. (Running on oeis4.)