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!)
A094487 Primes p such that 2^j+p^j are primes for j=0,1,2,4. 1
3, 5, 17, 4517, 5477, 5867, 7457, 8537, 13877, 16067, 22697, 27917, 56477, 59357, 90437, 97577, 101747, 118247, 122207, 124247, 135467, 139457, 140417, 153947, 208697, 247067, 267677, 306947, 419927, 470087, 489407, 520547, 529577, 540347 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
For j=0 1+1=2 is prime; also terms should be lesser-twin-primes
because of p^1+2^1=p+2=prime; 3rd and 4th conditions are as
follows: prime=p^2+4 and prime=16+p^4.
MATHEMATICA
{ta=Table[0, {100}], u=1}; Do[s0=2; s1=Prime[j]+2; s2=4+Prime[j]^2; s4=16+Prime[j]^4; If[PrimeQ[s0]&&PrimeQ[s1]&&PrimeQ[s2]&&PrimeQ[s4], Print[{j, Prime[j]}]; ta[[u]]=Prime[j]; u=u+1], {j, 1, 1000000}]
Select[Prime[Range[45000]], AllTrue[{2+#, 4+#^2, 16+#^4}, PrimeQ]&] (* Harvey P. Dale, Sep 18 2022 *)
CROSSREFS
Sequence in context: A349121 A128336 A278735 * A007516 A249759 A358342
KEYWORD
nonn
AUTHOR
Labos Elemer, Jun 01 2004
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 23 03:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)