login
A333549
Consider the list (A333552) of numbers m defined by property that when the Recamán term A005132(m) is being computed, we are unable to subtract m from A005132(m-1) because, although A003132(m-1) >= m, the result of the subtraction, A005132(m-1)-m, is already in A005132; sequence gives the successive values of A005132(m-1)-m.
5
0, 1, 6, 3, 0, 7, 24, 21, 13, 45, 42, 0, 25, 90, 87, 84, 81, 78, 63, 163, 160, 157, 154, 39, 151, 264, 261, 17, 14, 11, 8, 3, 135, 114, 285, 282, 279, 276, 273, 270, 81, 78, 265, 453, 63, 46, 269, 266, 263, 260, 257, 18, 15, 12, 9, 6, 3, 0, 228, 514, 511, 508, 505, 502, 499, 496, 493, 490, 164, 502, 499, 496
OFFSET
1,3
COMMENTS
These are the collisions that are avoided when A005132 is being constructed.
EXAMPLE
After we have found A005132(6)=13, we attempt to subtract 7 from 13 to get a(7). However, this would give 6, which is a collision, since we already have A005132(3)=6. So 6 gets added to the current sequence.
CROSSREFS
For records see A333550, A333551.
Sequence in context: A241532 A196830 A206530 * A191896 A100125 A153459
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, May 02 2020
STATUS
approved