login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A081510 Numbers n such that 1+2^n+4^n+6^n is prime. 1
1, 11, 23, 59, 399 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

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

EXAMPLE

m=1: 1+2+4+6=13 prime.

MATHEMATICA

Do[s=1^w+2^w+4^w+6^w; If[IntegerQ[w/100], Print[{w}]]; If[PrimeQ[s], Print[{w, s}]], {w, 0, 1000}]

PROG

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

CROSSREFS

Cf. A081509.

Sequence in context: A098100 A105967 A097473 * A068844 A139905 A267437

Adjacent sequences:  A081507 A081508 A081509 * A081511 A081512 A081513

KEYWORD

more,nonn

AUTHOR

Labos Elemer, Apr 15 2003

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 August 2 09:22 EDT 2021. Contains 346422 sequences. (Running on oeis4.)