OFFSET
0,3
COMMENTS
LINKS
Similar work at Permissible Patterns.
FORMULA
a(n) = Sum_{k=1..floor((n+1)/2)} (n + 2 - 2*k)*A023189(k). - Jon E. Schoenfield, May 17 2024
EXAMPLE
a(5)=9 because primes can exist in interval as x.... .x... ..x.. ...x. ....x x.x.. .x.x. ..x.x or x...x
CROSSREFS
KEYWORD
nonn
AUTHOR
Thomas J Engelsma (tom(AT)opertech.com), Jun 09 2004
STATUS
approved