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!)
A284098 a(n) = Sum_{d|n, d == 1 (mod 6)} d. 10
1, 1, 1, 1, 1, 1, 8, 1, 1, 1, 1, 1, 14, 8, 1, 1, 1, 1, 20, 1, 8, 1, 1, 1, 26, 14, 1, 8, 1, 1, 32, 1, 1, 1, 8, 1, 38, 20, 14, 1, 1, 8, 44, 1, 1, 1, 1, 1, 57, 26, 1, 14, 1, 1, 56, 8, 20, 1, 1, 1, 62, 32, 8, 1, 14, 1, 68, 1, 1, 8, 1, 1, 74, 38, 26, 20, 8, 14, 80, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,7
LINKS
FORMULA
G.f.: Sum_{k>=0} (6*k + 1)*x^(6*k+1)/(1 - x^(6*k+1)). - Ilya Gutkovskiy, Mar 21 2017
G.f.: Sum_{n >= 1} x^n*(1 + 5*x^(6*n))/(1 - x^(6*n))^2. - Peter Bala, Dec 19 2021
Sum_{k=1..n} a(k) = c * n^2 + O(n*log(n)), where c = Pi^2/72 = 0.137077... (A086729). - Amiram Eldar, Nov 26 2023
MATHEMATICA
Table[Sum[If[Mod[d, 6] == 1, d, 0], {d, Divisors[n]}], {n, 80}] (* Indranil Ghosh, Mar 21 2017 *)
PROG
(PARI) for(n=1, 82, print1(sumdiv(n, d, if(Mod(d, 6)==1, d, 0)), ", ")) \\ Indranil Ghosh, Mar 21 2017
(Python)
from sympy import divisors
def a(n): return sum([d for d in divisors(n) if d%6==1]) # Indranil Ghosh, Mar 21 2017
CROSSREFS
Cf. Sum_{d|n, d==1 (mod k)} d: A000593 (k=2), A078181 (k=3), A050449 (k=4), A284097 (k=5), this sequence (k=6), A284099 (k=7), A284100 (k=8).
Sequence in context: A368329 A360540 A088842 * A010152 A327155 A316786
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Mar 20 2017
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 11 15:49 EDT 2024. Contains 372409 sequences. (Running on oeis4.)