|
|
A248819
|
|
Numbers n such that the digits of antisigma(n) end in sigma(n).
|
|
0
|
|
|
79, 479, 2879, 4895, 26879, 79999, 644735, 799999, 2395488, 6399839, 8598719, 63652895, 144726608, 799999999, 935546879, 12640160863, 15282380799, 43687707904, 79999999999
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
EXAMPLE
|
sigma(4895) = 6480 and antisigma of 4895 is (4895 * 4896) / 2 - sigma(4895) = 11982960 - 6480 = 11976480.
|
|
MAPLE
|
with(numtheory): P:=proc(q) local a, n;
for n from 1 to q do then a:=ilog10(sigma(n))+1;
if sigma(n)=((n*(n+1)/2-sigma(n)) mod 10^a) then print(n);
fi; od; end: P(10^9);
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|