OFFSET
1,4
COMMENTS
0 <= a(n) <= n for any n.
LINKS
John Tyler Rascoe, Table of n, a(n) for n = 1..10241
Robert G. Wilson v, Illustration of initial terms
PROG
(Python)
return
def A071992_list(max_n):
A, s = [], 0
for n in range(1, max_n+1):
s += A003159(n)
A.append(3*n**2 + 2*n - 4*s)
return A # John Tyler Rascoe, Feb 24 2025
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Jun 17 2002
STATUS
approved