login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A338047 Lexicographically earliest sequence of nonnegative integers such that for any n >= 0, a(n) does not appear in the XOR-triangle with bottom row (a(0), ..., a(n-1)). 2

%I #10 Oct 18 2020 22:32:02

%S 0,1,2,4,8,9,11,16,17,18,21,22,32,33,34,35,36,37,38,39,42,43,44,45,46,

%T 48,52,64,65,66,68,69,72,73,75,77,79,80,81,82,85,92,93,95,98,126,128,

%U 129,130,131,132,133,134,135,136,138,140,142,143,144,145,147

%N Lexicographically earliest sequence of nonnegative integers such that for any n >= 0, a(n) does not appear in the XOR-triangle with bottom row (a(0), ..., a(n-1)).

%C All powers of 2 appear in the sequence.

%H Rémy Sigrist, <a href="/A338047/b338047.txt">Table of n, a(n) for n = 0..8191</a>

%H Rémy Sigrist, <a href="/A338047/a338047.gp.txt">PARI program for A338047</a>

%e The first terms, alongside the corresponding XOR-triangle, are:

%e 6

%e 2 4

%e 17 19 23

%e 29 12 31 8

%e 1 28 16 15 7

%e 0 1 29 13 2 5

%e 8 8 9 20 25 27 30

%e 7 15 7 14 26 3 24 6

%e 2 5 10 13 3 25 26 2 4

%e 1 3 6 12 1 2 27 1 3 7

%e a(n)| 0 1 2 4 8 9 11 16 17 18 21

%e ----+----------------------------------------------------------------------------

%e n | 0 1 2 3 4 5 6 7 8 9 10

%o (PARI) See Links section.

%Y Cf. A001651 (additive analog), A003987.

%K nonn,base

%O 0,3

%A _Rémy Sigrist_, Oct 08 2020

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 12 06:47 EDT 2024. Contains 372432 sequences. (Running on oeis4.)