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!)
A058037 Numbers k such that 3^k - k is prime. 5
1, 2, 8, 20, 40, 104, 110, 208, 472, 832, 1982, 25628, 235532 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Except for the first term all terms are of the form 6m+2 or 6m+4. There are no further terms up to 34500. - Farideh Firoozbakht, Jul 17 2005
a(13) > 2*10^5. - Robert Price, Feb 05 2014
LINKS
MATHEMATICA
Do[ If[ PrimeQ[ 3^n - n ], Print[ n ] ], {n, 0, 3000} ]
PROG
(PARI) for(k=1, 10^6, if(ispseudoprime(3^k-k), print1(k, ", "))); /* Joerg Arndt, Apr 07 2013 */
CROSSREFS
Sequence in context: A007290 A049031 A364583 * A203420 A048096 A072250
KEYWORD
nonn,more
AUTHOR
Robert G. Wilson v, Nov 16 2000
EXTENSIONS
a(12) from Farideh Firoozbakht, Jul 17 2005
a(13) from Nico Puada, Sep 18 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 May 8 13:24 EDT 2024. Contains 372333 sequences. (Running on oeis4.)