OFFSET
1,1
COMMENTS
LINKS
A. Jasinski, Table of n, a(n) for n = 1..1146
MATHEMATICA
jj = 2^36*3^23*5^15*7^13*11^10*13^9*17^8*19^8*23^8*29^7*31^7*37^7*41^6 *43^6*47^6*53^6*59^6*61^6*67^6*71^5*73^5*79^5*83^5*89^5*97^5; rr = {}; n = 2; While[n < 14000000, If[GCD[jj, n^2 - 1] == n^2 - 1, k = FactorInteger[n^2 - 1]; kk = Last[k][[1]]; If[kk == 71, AppendTo[rr, n]]]; n++ ]; rr (* Artur Jasinski *)
Select[Range[300000], FactorInteger[#^2-1][[-1, 1]]==71&]
PROG
(Magma) [ n: n in [2..300000] | m eq 71 where m is D[#D] where D is PrimeDivisors(n^2-1) ]; // Klaus Brockhaus, Feb 19 2011
(PARI) is(n)=n=n^2-1; forprime(p=2, 67, n/=p^valuation(n, p)); n>1 && 71^valuation(n, 71)==n \\ Charles R Greathouse IV, Jul 01 2013
CROSSREFS
KEYWORD
fini,nonn
AUTHOR
Artur Jasinski, Oct 21 2010
STATUS
approved