OFFSET
1,4
LINKS
Samuel B. Reid, Table of n, a(n) for n = 1..10000
Samuel B. Reid, C program for A335060
Samuel B. Reid, Plot of 2000000 terms
EXAMPLE
a(6) is 1 because, if (a(k) + a(6-k)) * 4 is less than 6, k can only be 3.
a(9) is 4 because k must be 1, 3, 6, or 8 in order for (a(k) + a(9-k)) * 4 to be less than 9.
PROG
(C) See Links section.
(PARI) lista(nn) = {my(va=vector(nn)); for (n=2, nn, va[n] = sum(k=1, n-1, 4*(va[k] + va[n-k]) < n); ); va; } \\ Michel Marcus, May 22 2020
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Samuel B. Reid, May 21 2020
STATUS
approved