The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

A103935

Choose a(n) to be the smallest odd number not yet used such that: a(1) = 1, a(2n) = composite, a(2n+1) = prime and partial sums are alternately composite or prime.