login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A093061
6 * Sum_{d|n} (d mod 3).
2
6, 18, 6, 24, 18, 18, 12, 36, 6, 36, 18, 24, 12, 36, 18, 42, 18, 18, 12, 54, 12, 36, 18, 36, 24, 36, 6, 48, 18, 36, 12, 54, 18, 36, 36, 24, 12, 36, 12, 72, 18, 36, 12, 54, 18, 36, 18, 42, 18, 54, 18, 48, 18, 18, 36, 72, 12, 36, 18, 54, 12, 36, 12, 60, 36, 36, 12, 54, 18, 72, 18, 36, 12
OFFSET
1,1
COMMENTS
The old entry with this sequence number was a duplicate of A090331.
FORMULA
a(n) = 6*A082909(n). - Michel Marcus, May 26 2014
MATHEMATICA
Table[6 Sum[Mod[d, 3], {d, Divisors[n]}], {n, 50}] (* Wesley Ivan Hurt, May 28 2014 *)
PROG
(PARI) a(n) = 6*sumdiv(n, d, d % 3); \\ Michel Marcus, May 26 2014
CROSSREFS
Sequence in context: A355787 A077022 A074923 * A264028 A078741 A248461
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Nov 02 2008
STATUS
approved