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

 


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A263085 Partial sums of A099774 (A099774(n) = number of divisors of n-th odd number). 5

%I #23 Jan 14 2024 02:26:20

%S 1,3,5,7,10,12,14,18,20,22,26,28,31,35,37,39,43,47,49,53,55,57,63,65,

%T 68,72,74,78,82,84,86,92,96,98,102,104,106,112,116,118,123,125,129,

%U 133,135,139,143,147,149,155,157,159,167,169,171,175,177,181,187,191,194,198

%N Partial sums of A099774 (A099774(n) = number of divisors of n-th odd number).

%H Antti Karttunen, <a href="/A263085/b263085.txt">Table of n, a(n) for n = 1..10082</a>

%F a(1) = 1; for n > 1, a(n) = A000005(2*n-1) + a(n-1).

%F a(n) = A263086(n) - A263084(n).

%F a(n) ~ n * (log(n) + 2*gamma + 3*log(2) - 1)/2, where gamma is Euler's constant (A001620). - _Amiram Eldar_, Jan 14 2024

%t FoldList[DivisorSigma[0,2*#2-1]+#1&,1,Range[2,62]] (* _Ivan N. Ianakiev_, Oct 24 2015 *)

%t Accumulate[Table[DivisorSigma[0, 2*n-1], {n, 1, 100}]] (* _Vaclav Kotesovec_, Jan 14 2019 *)

%o (Scheme, with memoization-macro definec)

%o (definec (A263085 n) (if (= 1 n) (A099774 n) (+ (A099774 n) (A263085 (- n 1)))))

%o (PARI) lista(nn) = {s = 0; forstep (n=1, nn, 2, s += numdiv(n); print1(s, ", "););} \\ _Michel Marcus_, Oct 12 2015

%Y Cf. A000005, A001620, A006218, A099774, A263084, A263086.

%K nonn

%O 1,2

%A _Antti Karttunen_, Oct 12 2015

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 19 08:53 EDT 2024. Contains 376007 sequences. (Running on oeis4.)