login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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);
A213240:=proc(q)
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:
A213240(100000000);
CROSSREFS
Sequence in context: A059653 A022385 A244411 * A279314 A006753 A098836
KEYWORD
nonn,base
AUTHOR
Paolo P. Lava, Jun 07 2012
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 07:44 EDT 2024. Contains 371922 sequences. (Running on oeis4.)