OFFSET
1,1
COMMENTS
Numbers m such that m^2-1 is divisible by d(m^2-1), m^2 is divisible by d(m^2) and d(m^2) > d(m^2-1), d = A000005.
The smallest term not divisible by 3 is a(1048) = 2907025.
LINKS
Jianing Song, Table of n, a(n) for n = 1..1500
EXAMPLE
5481 is a term since 5481^2-1 is divisible by d(5481^2-1) = 40, 5481^2 is divisible by d(5481^2) = 63, and 63 > 40.
2907025 is a term since 2907025^2-1 is divisible by d(2907025^2-1) = 96, 2907025^2 is divisible by d(2907025^2) = 125, and 125 > 96.
PROG
(PARI) isA342970(n) = if(n>1, my(d1 = numdiv(n^2-1), d2 = numdiv(n^2)); !((n^2-1) % d1) && !(n^2 % d2) && d2 > d1, 0)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jianing Song, Apr 01 2021
STATUS
approved