login

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

A217074
Numbers n such that (n^29-1)/(n-1) is prime.
7
6, 40, 65, 70, 114, 151, 221, 229, 268, 283, 398, 451, 460, 519, 554, 587, 627, 628, 659, 687, 699, 859, 884, 915, 943, 974, 986, 1101, 1120, 1159, 1176, 1212, 1223, 1297, 1312, 1322, 1337, 1390, 1409, 1415, 1446, 1477, 1508, 1592, 1636, 1691, 1800, 1802, 1803
OFFSET
1,1
LINKS
MATHEMATICA
Select[Range[2, 2000], PrimeQ[(#^29 - 1)/(# - 1)] &] (* T. D. Noe, Sep 26 2012 *)
PROG
(Magma) [n: n in [2..2000] |IsPrime((n^29 - 1) div (n - 1))]; // Vincenzo Librandi, Sep 28 2012
(PARI) is(n)=isprime((n^29-1)/(n-1)) \\ Charles R Greathouse IV, Feb 17 2017
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from T. D. Noe, Sep 26 2012
STATUS
approved