cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A333552 List of numbers k defined by property that when the Recamán term A005132(k) is being computed, we are unable to subtract k from A005132(k-1) because, although A003132(k-1) >= k, the result of the subtraction, A005132(k-1)-k, is already in A005132.

Original entry on oeis.org

3, 6, 7, 9, 11, 18, 19, 21, 33, 34, 36, 39, 66, 67, 69, 71, 73, 75, 101, 102, 104, 106, 108, 113, 114, 115, 117, 121, 123, 125, 127, 133, 134, 172, 173, 175, 177, 179, 181, 183, 186, 188, 189, 190, 194, 224, 225, 227, 229, 231, 233, 236, 238, 240, 242, 244, 246, 248, 287, 288, 290, 292, 294, 296, 298, 300, 302, 304
Offset: 1

Views

Author

N. J. A. Sloane, May 03 2020

Keywords

Comments

Positions k of addition steps in Recamán's sequence where A005132(k-1)-k = A005132(m) for some 0 <= m < k.
This is A187922 together with the terms in A333548. (The difference between A187922 and the present sequence is explained by the fact that originally A005132 began at 1 rather than 0.)

Examples

			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 7 gets added to the current sequence.
		

Crossrefs