The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A069250 Sum of the reversals of the proper divisors of n. 5
0, 1, 1, 3, 1, 6, 1, 7, 4, 8, 1, 16, 1, 10, 9, 15, 1, 21, 1, 13, 11, 14, 1, 45, 6, 34, 13, 55, 1, 69, 1, 76, 15, 74, 13, 127, 1, 94, 35, 23, 1, 72, 1, 40, 69, 35, 1, 148, 8, 61, 75, 100, 1, 174, 17, 145, 95, 95, 1, 99, 1, 16, 32, 99, 37, 78, 1, 121, 36, 110, 1, 240, 1, 76, 112, 181, 19, 198, 1, 88, 85, 17, 1, 203 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(n) = A069192(n) - A004086(n). - Indranil Ghosh, Feb 10 2017
EXAMPLE
The proper divisors of 20 are 1,2,4,5,10, which reversed are 1,2,4,5,1, summing to 13. Therefore a(20) = 13.
MATHEMATICA
f[n_] := FromDigits[Reverse[IntegerDigits[n]]]; g[n_] := Apply[Plus, Map[f, Drop[Divisors[n], -1]]]; Table[g[i], {i, 1, 40}]
Table[Total[IntegerReverse/@Most[Divisors[n]]], {n, 100}] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Apr 04 2021 *)
PROG
(Python)
def A069250(n):
....s=0
....for i in range(1, n):
........if n%i==0: s+=int(str(i)[::-1])
....return s # Indranil Ghosh, Feb 10 2017
CROSSREFS
Sequence in context: A117552 A294886 A357698 * A294888 A364858 A001065
KEYWORD
base,nonn
AUTHOR
Joseph L. Pe, Apr 19 2002
EXTENSIONS
More terms from N. J. A. Sloane, May 19 2013
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 May 13 03:50 EDT 2024. Contains 372497 sequences. (Running on oeis4.)