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

%I #19 Nov 18 2021 21:25:16

%S 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,

%T 69,1,76,15,74,13,127,1,94,35,23,1,72,1,40,69,35,1,148,8,61,75,100,1,

%U 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

%N Sum of the reversals of the proper divisors of n.

%H Indranil Ghosh, <a href="/A069250/b069250.txt">Table of n, a(n) for n = 1..50000</a>

%H Pe, J. <a href="http://www.numeratus.net/enlightened/pictureperfect.html">The Picture-Perfect Numbers</a>

%F a(n) = A069192(n) - A004086(n). - _Indranil Ghosh_, Feb 10 2017

%e 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.

%t f[n_] := FromDigits[Reverse[IntegerDigits[n]]]; g[n_] := Apply[Plus, Map[f, Drop[Divisors[n], -1]]]; Table[g[i], {i, 1, 40}]

%t Table[Total[IntegerReverse/@Most[Divisors[n]]],{n,100}] (* Requires Mathematica version 10 or later *) (* _Harvey P. Dale_, Apr 04 2021 *)

%o (Python)

%o def A069250(n):

%o ....s=0

%o ....for i in range(1,n):

%o ........if n%i==0: s+=int(str(i)[::-1])

%o ....return s # _Indranil Ghosh_, Feb 10 2017

%Y Cf. A069192, A000203, A004086.

%K base,nonn

%O 1,4

%A _Joseph L. Pe_, Apr 19 2002

%E More terms from _N. J. A. Sloane_, May 19 2013

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 June 7 00:43 EDT 2024. Contains 373140 sequences. (Running on oeis4.)