|
|
A164774
|
|
Numbers n with property that average digit of n^2 is s=5.
|
|
10
|
|
|
8, 113, 122, 157, 158, 166, 176, 184, 193, 194, 212, 221, 238, 256, 257, 266, 274, 275, 283, 284, 292, 311, 3283, 3314, 3386, 3391, 3413, 3458, 3463, 3517, 3544, 3562, 3593, 3674, 3683, 3697, 3724, 3733, 3737, 3764, 3814, 3827, 3836, 3859, 3863, 3872, 3917
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
8^2=64 and (6+4)/2=5
113^2=12769 and (1+2+7+6+9)/5=5.
|
|
PROG
|
(PARI) dsum(n)={my(s=0); while(n>9, s+=n%10; n\=10); s+n};
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|