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!)
A093480 Numbers k such that k^3 - (k-1)^2 is prime. 0
2, 3, 5, 6, 7, 8, 10, 11, 12, 13, 17, 20, 21, 33, 35, 38, 43, 45, 46, 50, 52, 53, 57, 61, 63, 71, 73, 75, 76, 78, 80, 82, 90, 91, 96, 97, 98, 101, 102, 105, 106, 112, 115, 116, 122, 127, 132, 137, 146, 152, 155, 157, 162, 172, 175, 176, 181, 183, 192, 200, 201, 203 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Select[Range[250], PrimeQ[#^3-(#-1)^2]&] (* Harvey P. Dale, Mar 21 2011 *)
PROG
(PARI) is(n)=isprime(n^3-(n-1)^2) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A345475 A191894 A284955 * A121518 A287770 A039080
KEYWORD
easy,nonn,changed
AUTHOR
Jason Earls, May 22 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.)