|
|
A213240
|
|
Numbers n such that sum of digits of n = sum of digits of n’, where n’ is the arithmetic derivative of n.
|
|
2
|
|
|
4, 22, 27, 54, 56, 81, 94, 108, 121, 135, 166, 202, 216, 243, 245, 260, 265, 266, 272, 274, 308, 344, 346, 355, 382, 405, 445, 454, 459, 513, 517, 518, 526, 562, 567, 594, 634, 648, 675, 702, 706, 729, 784, 806, 832, 837, 841, 891, 913, 920, 922, 945, 950, 972
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
n=344 and 3+4+4=11; n’=524 and 5+2+4=11.
|
|
MAPLE
|
with(numtheory);
local a, b, d, n, p, pfs;
for n from 1 to q do
pfs:=ifactors(n)[2]; a:=n*add(op(2, p)/op(1, p), p=pfs); b:=0;
while a>0 do b:=b+(a mod 10); a:=trunc(a/10); od;
a:=n; d:=0; while a>0 do d:=d+(a mod 10); a:=trunc(a/10); od;
if b=d then print(n); fi;
od; end:
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|