OFFSET
1,2
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..16384
Michael De Vlieger, Bitmap of a(n), n = 1..2^14, horizontally exaggerating each row by 256X.
N. J. A. Sloane, Right-justified table of n, a(n) for n = 1..20000 [Note this is not a b-file.]
N. J. A. Sloane, Right-justified table of n, a(n) for n = 1..10^6 [gzipped file, copied from A352575] [This file was corrupted, but today I replaced it with a corrected version. - N. J. A. Sloane, Apr 11 2022]
MATHEMATICA
nn = 50, c[_] = 0; a[1] = c[1] = 1; u = 2; Do[If[a[i - 1] == u, While[c[u] > 0, u++]]; k = u; While[Nand[c[k] == 0, BitAnd[a[i - 1], k] == 0], k++]; Set[{a[i], c[k]}, {k, i}], {i, Length[s] + 1, nn}]; Array[FromDigits@ IntegerDigits[a[#], 2] &, nn] (* Michael De Vlieger, Apr 05 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Apr 04 2022
STATUS
approved