OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
FORMULA
a(n) ~ n^2. - Charles R Greathouse IV, Aug 18 2015
PROG
(PARI) main(s)=my(v=vector(s), v2=[], x, r, n); v[1]=2; for(n=2, s, v[n]=v[n-1]+1; until(x==1, for(r=1, n-1, for(s=1, n-1, if((v[r]^v[s])===v[n], v2=concat(v2, v[n]); print1(v[n], ", "); v[n]++; x=0; break(2), x=1))))); v2;
CROSSREFS
KEYWORD
nonn
AUTHOR
Anders Hellström, Jul 19 2015 following suggestion from N. J. A. Sloane
STATUS
approved