login
A330314
Running totals in A330313.
4
1, 4, 2, 13, 20, 16, 10, 2, 23, 28, 16, 2, 91, 100, 82, 56, 40, 20, 10, 23, 40, 16, 91, 130, 100, 68, 91, 142, 173, 151, 194, 160, 112, 68, 40, 4, 23, 52, 10, 91, 23, 56, 91, 160, 100, 28, 91, 164, 112, 56, 16, 121, 182, 112, 28, 121, 212, 130, 80, 121, 23, 68, 121, 224, 160, 82, 28, 151, 23
OFFSET
1,2
COMMENTS
By construction this is always >= 0 and a palindrome in base 3.
a(n) = a(n-1) +- A330313(n), using - if A330313(n) is even and otherwise +.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..50000 (first 1000 terms from N. J. A. Sloane)
CROSSREFS
KEYWORD
nonn,look,base
AUTHOR
N. J. A. Sloane, Dec 11 2019
STATUS
approved