OFFSET
1,3
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
a(7) = 16 = 1 +3 +6 +4 +2 = 13 % 3 + 13 % 5 + 13 % 7 + 13 % 9 + 13 % 11.
MAPLE
L:= [seq(4*n-3 - numtheory:-sigma(2*n-1)-numtheory:-sigma((n-1)/2^padic:-ordp(n-1, 2)), n=1..100)]:
ListTools:-PartialSums(L); # Robert Israel, Jan 16 2019
PROG
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Amarnath Murthy, Jan 29 2002
EXTENSIONS
Corrected and extended by several contributors.
STATUS
approved