OFFSET
1,7
COMMENTS
For k > 1, apparently the smallest n such that a(n) = k is 2^k + k + 1 (see A005126).
PROG
(PARI) {m=105; w=vector(2*m); print1(1, ", "); for(n=2, m, k=n; while(w[k], k--); a=n+k; print1(2*n-a, ", "); w[a]=1)}
CROSSREFS
KEYWORD
nonn
AUTHOR
Klaus Brockhaus, Oct 05 2006
STATUS
approved