login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A081510
Numbers k such that 1 + 2^k + 4^k + 6^k is prime.
1
1, 11, 23, 59, 399, 63321
OFFSET
1,2
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}]
Select[Range[400], PrimeQ[2^#+4^#+6^#+1]&] (* Harvey P. Dale, Jun 03 2023 *)
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: A105967 A097473 A366487 * A068844 A139905 A267437
KEYWORD
more,nonn
AUTHOR
Labos Elemer, Apr 15 2003
EXTENSIONS
a(6) from Michael S. Branicky, Aug 10 2024
STATUS
approved