login
A181448
Numbers k such that 5 is the largest prime factor of k^2 - 1.
3
4, 9, 11, 19, 26, 31, 49, 161
OFFSET
1,1
COMMENTS
Numbers k such that A076605(k) = 3.
Sequence is finite and complete, for proof see A175607.
Search for terms can be restricted to the range from 2 to A175607(3) = 161; primepi(5) = 3.
MATHEMATICA
Select[Range[200], FactorInteger[#^2-1][[-1, 1]]==5&]
PROG
(Magma) [ n: n in [2..200] | m eq 5 where m is D[#D] where D is PrimeDivisors(n^2-1) ]; // Klaus Brockhaus, Feb 17 2011
(PARI) is(n)=n=n^2-1; n>>=valuation(n, 2); n/=3^valuation(n, 3); n>1 && 5^valuation(n, 5)==n \\ Charles R Greathouse IV, Jul 01 2013
CROSSREFS
KEYWORD
fini,full,nonn
AUTHOR
Artur Jasinski, Oct 21 2010
STATUS
approved