login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A217076 Numbers n such that (n^37-1)/(n-1) is prime. 6

%I #14 Sep 08 2022 08:46:04

%S 61,77,94,97,99,113,126,130,134,147,161,172,187,202,208,246,261,273,

%T 285,302,320,432,444,503,523,525,563,666,680,709,740,757,787,902,962,

%U 964,969,1013,1109,1165,1186,1219,1351,1528,1587,1660,1698,1710,1754,1811,1972

%N Numbers n such that (n^37-1)/(n-1) is prime.

%H Vincenzo Librandi, <a href="/A217076/b217076.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[Range[2, 2000], PrimeQ[(#^37 - 1)/(# - 1)] &] (* _T. D. Noe_, Sep 26 2012 *)

%o (Magma) [n: n in [2..2000] |IsPrime((n^37 - 1) div (n - 1))]; // _Vincenzo Librandi_, Sep 28 2012

%o (PARI) is(n)=isprime((n^37-1)/(n-1)) \\ _Charles R Greathouse IV_, Feb 17 2017

%Y Cf. A002384, A049409, A100330, A162862, A217070-A217089.

%K nonn,easy

%O 1,1

%A _Tim Johannes Ohrtmann_, Sep 26 2012

%E More terms from _T. D. Noe_, Sep 26 2012

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 18 12:58 EDT 2024. Contains 376000 sequences. (Running on oeis4.)