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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A089920 Indices of primes p such that 7^p - 2 is prime. 0
1, 4, 11, 149 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Except for p=2, 2, 5^p - 2 cannot be prime. This immediately follows from the fact that a number N = (3k+2)^p - 2 cannot be prime for p > 2 because N = 3H + 2^p - 2 = 3H + 2(2^(p-1)-1) is divisible by 3.

LINKS

Table of n, a(n) for n=1..4.

MATHEMATICA

Select[Range[500], PrimeQ[7^Prime[#]-2]&] (* From Harvey P. Dale, May 02 2011 *)

PROG

(PARI) forprime(p=2, 1e4, if(ispseudoprime(7^p-2), print1(x", ")))

CROSSREFS

Cf. A147782 (primes p such that 7^p - 2 is prime).

Sequence in context: A018242 A006248 A119571 * A118197 A092658 A216571

Adjacent sequences:  A089917 A089918 A089919 * A089921 A089922 A089923

KEYWORD

nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Jan 11 2004

EXTENSIONS

Definition clarified by Harvey P. Dale, May 02 2011.

STATUS

approved

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 June 17 23:56 EDT 2013. Contains 226327 sequences.