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!)
A155933 Primes of the form n^2 + (n+1)^3. 3
31, 73, 241, 379, 2341, 3571, 6121, 9661, 20359, 47881, 51949, 60763, 65521, 119953, 135151, 291721, 305119, 378289, 394201, 427351, 537841, 689041, 736921, 761671, 921889, 1202041, 1271161, 1306693, 1494313, 1533871, 1742161, 1785961, 1875751 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
For n^2 + (n+1)^3 to be a prime, n cannot be 1 modulo 3 whereas all a(n) are definitely 1 modulo 3. - Avik Roy (avik_3.1416(AT)yahoo.co.in), Feb 13 2009
LINKS
FORMULA
a(n) = m^2 + (m+1)^3 where m = A128958(n). - Zak Seidov, Dec 15 2013
EXAMPLE
31 is in the sequence since 31 is prime and 31 = 2^2 + 3^3.
MATHEMATICA
lst={}; Do[p=(n+2)^2+(n+3)^3; If[PrimeQ[p], AppendTo[lst, p]], {n, 0, 2*5!}]; lst...and/or...lst={}; Do[p=n^2+(n+1)^3; If[PrimeQ[p], AppendTo[lst, p]], {n, 0, 2*5!}]; lst
CROSSREFS
Cf. A128958.
Sequence in context: A070954 A141892 A298613 * A163428 A130468 A068917
KEYWORD
nonn
AUTHOR
EXTENSIONS
Definition corrected by Zak Seidov, Jul 05 2013
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 17 23:23 EDT 2024. Contains 371767 sequences. (Running on oeis4.)