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

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

%S 2,3,5,7,34,37,43,59,72,94,98,110,133,149,151,159,190,207,219,221,251,

%T 260,264,267,282,286,291,319,355,363,373,382,397,398,402,406,408,412,

%U 436,442,486,489,507,542,544,552,553,582,585,592,603,610,614,634,643

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

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

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

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

%o (PARI) is(n)=isprime(polcyclo(13,n)) \\ _Charles R Greathouse IV_, Apr 28 2015

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

%K nonn,easy

%O 1,1

%A _Tim Johannes Ohrtmann_, 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 April 24 08:09 EDT 2024. Contains 371922 sequences. (Running on oeis4.)