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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A058828 Numbers n such that 6^n + n is prime. 0
1, 305, 761, 1357, 3793, 4027 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

The next terms are > 12000. - Bruno Berselli, Sep 30 2012

LINKS

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

MATHEMATICA

Do[ If[ PrimeQ[6^n + n], Print[n] ], {n, 2500} ]

Select[Range[0, 4000], PrimeQ[(6^# + #)] &] (* Vincenzo Librandi, Sep 29 2012 *)

PROG

(PARI) is(n)=ispseudoprime(6^n+n) \\ Charles R Greathouse IV, Jun 13 2017

CROSSREFS

Sequence in context: A216260 A160577 A256603 * A247344 A220601 A156168

Adjacent sequences:  A058825 A058826 A058827 * A058829 A058830 A058831

KEYWORD

nonn

AUTHOR

Robert G. Wilson v, Jan 04 2001

EXTENSIONS

a(5) from Vincenzo Librandi, Sep 29 2012

a(6) from Bruno Berselli, Sep 29 2012

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 17 22:17 EDT 2019. Contains 324200 sequences. (Running on oeis4.)