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!)
A090669 Numbers n such that 7^n - 2 is a prime. 25
1, 2, 4, 7, 8, 12, 15, 28, 31, 84, 98, 128, 238, 302, 859, 1508, 1586, 2091, 2796, 2888, 3924, 4815, 5636, 6596, 7090, 20176, 22176, 56386, 84050, 115515, 245608, 259710, 274120 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
7^12 - 2 = 13841287199 a prime number.
MATHEMATICA
Do[ If[ PrimeQ[7^n - 2], Print[n]], {n, 1, 2000}] (* Robert G. Wilson v, Dec 22 2003 *)
PROG
(PARI) is(n)=isprime(7^n - 2) \\ Charles R Greathouse IV, Apr 28 2015
CROSSREFS
Sequence in context: A233271 A088413 A372098 * A231428 A263660 A215822
KEYWORD
nonn
AUTHOR
Herman H. Rosenfeld (herm3(AT)pacbell.net), Dec 16 2003
EXTENSIONS
Corrected and extended by Robert G. Wilson v and Ray Chandler, Dec 22 2003
Three more terms from Ryan Propper, Dec 07 2008
a(28)-a(30) from Robert Price, Jan 24 2014
a(31)-a(32) from Paul Bourdelais, Jan 29 2021
a(33) from Paul Bourdelais, Aug 02 2023
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 June 29 14:02 EDT 2024. Contains 373851 sequences. (Running on oeis4.)