OFFSET
1,2
COMMENTS
Up to 17297280 only the highly composite numbers 2, 6, 498960, 1081080, and 4324320 don't qualify. I have tested all up to that point.
Conjecture: this sequence is finite, with a(120) = 7675044034503567507122937600 as its final term. - Jon E. Schoenfield, Aug 12 2018
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..120
Michael De Vlieger, Concordance of A317518 and A002182 listing a(n) and positions of a(n) in A002182, along with the qualifying square roots.
FORMULA
EXAMPLE
1, 4, and 36 are square. 24, 48, 120, 360, 840, 1680, and 5040 are all 1 less than a square.
PROG
(PARI) {my(r=0); for(k=1, 5e5, if(numdiv(k)>r, r=numdiv(k); if(issquare((sqrtint(k-1) + 1)^2 - k), print1(k, ", ")) ))} \\ Andrew Howroyd, Aug 12 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Vaughn R Tiffany, Jul 30 2018
STATUS
approved