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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A125738 Primes p such that 3^p - 3^((p + 1)/2) + 1 is prime. 3
3, 11, 193, 239, 659, 709, 1103 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

PrimePi[ a(n) ] = {2, 5, 44, 52, 120, 127, 185,...}.

LINKS

J. Brillhart et al., Factorizations of b^n +- 1, Contemporary Mathematics, Vol. 22, Amer. Math. Soc., Providence, RI, 3rd edition, 2002.

S. S. Wagstaff, Jr., The Cunningham Project.

MATHEMATICA

Do[p=Prime[n]; f=3^p-3^((p+1)/2)+1; If[PrimeQ[f], Print[{n, p}]], {n, 1, 200}]

CROSSREFS

Cf. A125739 = Primes p such that 3^p + 3^((p + 1)/2) + 1 is prime. Cf. A007670 = numbers n such that 2^n - 2^((n + 1)/2) + 1 is prime. Cf. A007671 = numbers n such that 2^n + 2^((n + 1)/2) + 1 is prime.

Sequence in context: A118479 A103836 A081484 * A092840 A007156 A060346

Adjacent sequences:  A125735 A125736 A125737 * A125739 A125740 A125741

KEYWORD

hard,more,nonn

AUTHOR

Alexander Adamchuk (alex(AT)kolmogorov.com), Dec 02 2006

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 19:23 EST 2012. Contains 205945 sequences.