A279459 Numbers n such that sum of the proper divisors of n is the square of the sum of the digits of n.
24, 153, 176, 794, 3071, 3431, 4607, 9671, 15599, 17711, 18167, 19511, 45671, 50927, 56471, 62807, 74639, 119279, 127559, 154199, 165791, 174719, 175871, 695399, 699359
Offset: 1
Examples
24 is in the sequence because 24 has 7 proper divisors {1,2,3,4,6,8,12}, 1 + 2 + 3 + 4 + 6 + 8 + 12 = 36 and (2 + 4)^2 = 36; 153 is in the sequence because 153 has 5 proper divisors {1,3,9,17,51}, 1 + 3 + 9 + 17 + 51 = 81 and (1 + 5 + 3)^2 = 81; 176 is in the sequence because 176 has 9 proper divisors {1,2,4,8,11,16,22,44,88}, 1 + 2 + 4 + 8 + 11 + 16 + 22 + 44 + 88 = 196 and (1 + 7 + 6)^2 = 196, etc.
Links
- Eric Weisstein's World of Mathematics, Digit Sum
- Index entries for sequences related to sums of divisors
Programs
-
Mathematica
Select[Range[1000000], DivisorSigma[1, #1] - #1 == Total[IntegerDigits[#1]]^2 &]
-
PARI
is(n) = sigma(n)-n==sumdigits(n)^2 \\ Felix Fröhlich, Dec 13 2016
Comments