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!)
A217074 Numbers n such that (n^29-1)/(n-1) is prime. 7

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

%S 6,40,65,70,114,151,221,229,268,283,398,451,460,519,554,587,627,628,

%T 659,687,699,859,884,915,943,974,986,1101,1120,1159,1176,1212,1223,

%U 1297,1312,1322,1337,1390,1409,1415,1446,1477,1508,1592,1636,1691,1800,1802,1803

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

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

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

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

%o (PARI) is(n)=isprime((n^29-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 | 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 July 12 19:59 EDT 2024. Contains 374252 sequences. (Running on oeis4.)