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!)
A217075 Numbers n such that (n^31-1)/(n-1) is prime. 7
2, 14, 19, 31, 44, 53, 71, 82, 117, 127, 131, 145, 177, 197, 203, 241, 258, 261, 276, 283, 293, 320, 325, 379, 387, 388, 406, 413, 461, 462, 470, 486, 491, 534, 549, 569, 582, 612, 618, 639, 696, 706, 723, 746, 765, 767, 774, 796, 802, 877, 878, 903, 923, 981 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Select[Range[2, 1000], PrimeQ[(#^31 - 1)/(# - 1)] &] (* T. D. Noe, Sep 26 2012 *)
PROG
(Magma) [n: n in [2..1000] |IsPrime((n^31 - 1) div (n - 1))]; // Vincenzo Librandi, Sep 28 2012
(PARI) is(n)=isprime((n^31-1)/(n-1)) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
Sequence in context: A274062 A059205 A298002 * A187261 A101398 A131221
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from T. D. Noe, Sep 26 2012
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 June 30 00:34 EDT 2024. Contains 373859 sequences. (Running on oeis4.)