A289274 Numbers k such that the deficiency of k^2 is itself a square > 1.
46, 284, 1633, 149728, 242656, 260495, 298057, 1056752, 9587584, 17706256, 914429696, 985501822, 1074266048, 1484820224, 4241800921, 12147056128, 109548719577, 287291764736, 360499817799
Offset: 1
Examples
The deficiency of 46^2 is 2*46^2 - sigma(46^2) = 19^2, so 46 is a term of the sequence.
Programs
-
Maple
issq := n -> evalb(n>1 and issqr(n)): A033879 := n -> 2*n - numtheory[sigma](n): isa := n -> issq(A033879(n^2)): select(isa, [$1..2000]); # Peter Luschny, Jul 25 2017
-
PARI
isok(n) = issquare(d = 2*n^2 - sigma(n^2)) && (d!=1); \\ Michel Marcus, Jul 25 2017
Extensions
a(10) from Chai Wah Wu, Jul 26 2017
a(11)-a(19) from Giovanni Resta, Jul 27 2017
Comments