login
The OEIS is supported by
the many generous donors to the OEIS Foundation
.
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}]
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
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
|
Recents
The OEIS Community
| Maintained by
The OEIS Foundation Inc.
License Agreements, Terms of Use, Privacy Policy.
.
Last modified April 25 13:26 EDT 2024. Contains 371971 sequences. (Running on oeis4.)