OFFSET
1,1
COMMENTS
MATHEMATICA
Select[Range[20], FactorInteger[#^2-1][[-1, 1]]==3&]
PROG
(Magma) [ n: n in [2..20] | m eq 3 where m is D[#D] where D is PrimeDivisors(n^2-1) ]; // Klaus Brockhaus, Feb 17 2011
(PARI) is(n)=n=n^2-1; my(o=valuation(n, 3)); o && n>>valuation(n/3^o, 2)==1 \\ Charles R Greathouse IV, Jul 01 2013
CROSSREFS
KEYWORD
nonn,fini,full
AUTHOR
Artur Jasinski, Oct 21 2010
STATUS
approved