OFFSET
0,3
COMMENTS
a(n) > pi(n), since every prime p <= n could be represented as p = 0*1 + 0*p + 1*p, while an additional prime q = 2*m + 1 > n (that exists between n and 2*n by Bertrand's postulate) could be represented as q = 1*1 + 1*m + 1*m with m <= n.
It appears that n*log(n) < a(n) < n^2/2, n > 3.
LINKS
Pontus von Brömssen, Table of n, a(n) for n = 0..10000
FORMULA
a(n) = Sum_{k=1..n} A396668(n). - Pontus von Brömssen, Jun 05 2026
EXAMPLE
a(2) = 3, as 2, 3, 5 are represented by triples (0,1,2), (1,1,1), (1,1,2), respectively.
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Michael Shmoish, Apr 14 2026
STATUS
approved
