The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A300010 Numbers k such that 3^k + k - 1 is a prime. 0
1, 3, 65, 123, 435, 465, 677, 947, 4215, 5615 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Next term, if it exists, is greater than 10000.
Corresponding primes: 3, 29, 10301051460877537453973547267907, 48519278097689642681155855396759336072749841943521979872949, ...
LINKS
MAPLE
select(k->isprime(3^k+k-1), [$1..1000]); # Muniru A Asiru, Apr 05 2018
MATHEMATICA
Flatten[{Select[Range[6000], PrimeQ[3^# + # - 1] &]}]
PROG
(Magma) [k: k in [1..700] | IsPrime(3^k+k-1)];
(PARI) lista(nn) = forstep(n=1, nn, 2, if(ispseudoprime(3^n + n - 1), print1(n, ", "))); \\ Altug Alkan, Apr 01 2018
CROSSREFS
Sequence in context: A275044 A205645 A326429 * A196798 A196586 A197043
KEYWORD
nonn,more
AUTHOR
Vincenzo Librandi, Apr 01 2018
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 5 14:50 EDT 2024. Contains 373107 sequences. (Running on oeis4.)