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

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A241120 Primes p such that (p^3 + 2)/3 is prime. 4
13, 19, 31, 193, 211, 223, 229, 271, 331, 571, 619, 691, 739, 751, 853, 991, 1009, 1039, 1051, 1231, 1303, 1321, 1549, 1741, 1789, 1831, 1993, 1999, 2029, 2089, 2113, 2143, 2203, 2311, 2521, 2551, 2683, 2749, 2851, 3121, 3259, 3331, 3571, 3631, 3823, 3853, 4093 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

K. D. Bajpai, Table of n, a(n) for n = 1..8879

EXAMPLE

13 is prime and appears in the sequence because (13^3 + 2)/3 = 733 which is a prime.

31 is prime and appears in the sequence because (31^3 + 2)/3 = 9931 which is a prime.

MAPLE

KD:= proc() local a, b; a:=ithprime(n); b:=(a^3+2)/3; if b=floor(b) and isprime(b) then RETURN (a); fi; end: seq(KD(), n=1..1000);

MATHEMATICA

Select[Prime[Range[500]], PrimeQ[(#^3 + 2)/3] &]

n = 0; Do[If[PrimeQ[(Prime[k]^3 + 2)/3], n = n + 1; Print[n, " ", Prime[k]]], {k, 1, 200000}]          (* b-file *)

PROG

(PARI) s=[]; forprime(p=2, 8000, if((p^3+2)%3==0 && isprime((p^3+2)/3), s=concat(s, p))); s \\ Colin Barker, Apr 16 2014

CROSSREFS

Cf. A109953 (primes p: (p^2+1)/3 is prime).

Cf. A118915 (primes p: (p^2+5)/6 is prime).

Cf. A118918 (primes p: (p^2+11)/12 is prime).

Cf. A241101 (primes p: (p^3-4)/3 is prime).

Sequence in context: A101408 A023252 A279426 * A128342 A154076 A275660

Adjacent sequences:  A241117 A241118 A241119 * A241121 A241122 A241123

KEYWORD

nonn

AUTHOR

K. D. Bajpai, Apr 16 2014

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 January 22 19:39 EST 2020. Contains 331153 sequences. (Running on oeis4.)