

A217747


Numbers whose digits sum to a perfect number.


0



6, 15, 24, 33, 42, 51, 60, 105, 114, 123, 132, 141, 150, 204, 213, 222, 231, 240, 303, 312, 321, 330, 402, 411, 420, 501, 510, 600, 1005, 1014, 1023, 1032, 1041, 1050, 1104, 1113, 1122, 1131, 1140, 1203, 1212, 1221, 1230, 1302, 1311, 1320, 1401, 1410, 1500
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

This is the index of numbers in A007953 whose value is found in A000396.
The first 49 terms of this sequence sum to 6 (A052220). The first divergence is a(50)=1999; lengthy divergences occur for 131 consecutive values starting with a(120)=6499, and 248 consecutive values starting with a(595)=24499.


LINKS

Table of n, a(n) for n=1..49.


EXAMPLE

a(4)=33, because 3+3 is the perfect number 6.


PROG

(R) perf=c(6, 28, 496, 8128, 33550336, 8589869056, 137438691328, 2305843008139952128); i=6; psod=c(); while(length(psod)<1000) {x=which(sumod(i)==perf); if(length(x)) psod=c(psod, i+x/10); i=i+1}


CROSSREFS

Cf. A052220, A007953, A000396.
Superset of A048517
Sequence in context: A017233 A122709 A052220 * A242405 A064565 A190515
Adjacent sequences: A217744 A217745 A217746 * A217748 A217749 A217750


KEYWORD

nonn,base


AUTHOR

Kevin L. Schwartz and Christian N. K. Anderson, Mar 23 2013


STATUS

approved



