login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A125559
Numbers k such that 2k^3 + 7 is prime. For k >= 8, bases in which 2007 is prime.
0
0, 2, 3, 5, 6, 8, 12, 17, 20, 26, 27, 32, 33, 36, 38, 41, 47, 50, 60, 65, 72, 75, 78, 87, 101, 111, 122, 123, 135, 137, 146, 152, 156, 162, 165, 173, 177, 188, 191, 195, 197, 221, 243, 246, 261, 267, 272, 291, 303, 311, 312, 321, 323, 330, 332, 333, 338, 362, 365
OFFSET
1,2
MATHEMATICA
Select[Range[0, 365], PrimeQ[2#^3+7]&] (* James C. McMahon, Dec 18 2024 *)
PROG
(PARI) is(n)=isprime(2*n^3+7) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A002243 A094763 A338916 * A331865 A087360 A111501
KEYWORD
base,nonn,easy
AUTHOR
Zak Seidov, Jan 01 2007
STATUS
approved