In mathematics and computer science, Recamán's sequence[1][2] is a well known sequence defined by a recurrence relation. Because its elements are related to the previous elements in a straightforward way, they are often defined using recursion.

A drawing of the first 75 terms of Recamán's sequence, according to the method of visualization shown in the Numberphile video "The Slightly Spooky Recamán Sequence"[3]

Recamán's sequence was named after its inventor, Colombian mathematician Bernardo Recamán Santos [es], by Neil Sloane, creator of the On-Line Encyclopedia of Integer Sequences (OEIS).

Definition

edit

Recamán's sequence is defined as:

The first terms of the sequence are:

0, 1, 3, 6, 2, 7, 13, 20, 12, 21, 11, 22, 10, 23, 9, 24, 8, 25, 43, 62, 42, 63, 41, 18, 42, 17, 43, 16, 44, 15, 45, 14, 46, 79, 113, 78, 114, 77, 39, 78, 38, 79, 37, 80, 36, 81, 35, 82, 34, 83, 33, 84, 32, 85, 31, 86, 30, 87, 29, 88, 28, 89, 27, 90, 26, 91, 157, 224, 156, 225, 155, ... (sequence A005132 in the OEIS)

Visual representation

edit
A plot for the first 100 terms of the Recamán's sequence[4]

The most-common visualization of the Recamán's sequence is simply plotting its values, such as the figure seen here.

On January 14, 2018, the Numberphile YouTube channel published a video titled "The Slightly Spooky Recamán Sequence",[3] showing a visualization using alternating semi-circles, as it is shown in the figure at top of this page.

Sound representation

edit

Values of the sequence can be associated with musical notes, in such that the running of the sequence can be associated with an execution of a musical tune.[5]

Properties

edit

The sequence satisfies:[1]

This is not a permutation of the integers: the first repeated term is .[6] Another one is .

Conjecture

edit

Neil Sloane has conjectured that every number eventually appears,[1] but this has not been proven. As of 2026, 10612 terms have been calculated, and 852,655 is the smallest natural number to not appear on the list.[1]

Uses

edit

Besides its mathematical and aesthetic properties, Recamán's sequence can be used to secure 2D images by steganography.[7]

References

edit
  1. ^ a b c d Sloane, N. J. A. (ed.). "Sequence A005132 (Recamán's sequence)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  2. ^ Weisstein, Eric W. "Recamán's Sequence". MathWorld.
  3. ^ a b The Slightly Spooky Recamán Sequence, Numberphile video.
  4. ^ R.Ugalde, Laurence. "Recamán sequence in Fōrmulæ programming language". Fōrmulæ. Retrieved July 26, 2021.
  5. ^ "Play a Sequence". The On-Line Encyclopedia of Integer Sequences.
  6. ^ "Math less traveled". Archived from the original on 2023-07-11. Retrieved 2019-12-14.
  7. ^ S. Farrag and W. Alexan, "Secure 2D Image Steganography Using Recamán's Sequence," 2019 International Conference on Advanced Communication Technologies and Networking (CommNet), Rabat, Morocco, 2019, pp. 1-6. doi: 10.1109/COMMNET.2019.8742368
edit

📚 Artikel Terkait di Wikipedia

Sequence

Integer Sequences, 2020-12-03 Sloane, N. J. A. (ed.). "Sequence A005132 (Recamán's sequence)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation

Integer sequence

numbers Prime numbers Pseudoprime numbers Recamán's sequence Regular paperfolding sequence Rudin–Shapiro sequence Semiperfect numbers Semiprime numbers Superperfect

List of integer sequences

is a list of notable integer sequences with links to their entries in the On-Line Encyclopedia of Integer Sequences. OEIS core sequences Index to OEIS

1000 (number)

On-Line Encyclopedia of Integer Sequences. OEIS Foundation. Sloane, N. J. A. (ed.). "Sequence A064227 (From Recamán's sequence (A005132): record values in

List of unsolved problems in mathematics

nonnegative integer appear in Recamán's sequence? Skolem problem: can an algorithm determine if a constant-recursive sequence contains a zero? The values

2000 (number)

octagonal number 2402 – 74 + 1 2406 appears for the first time in the Recamán's sequence at n = 394,178,473,633,984. Or in other words A057167(2406) = 394

Ulam number

representable number, then the resulting sequence is the sequence of Fibonacci numbers. Ulam (1964a, 1964b). Recaman (1973) gives a similar argument, phrased

69 (number)

Smarandache Notions. Hexis. p. 78. ISBN 9781599730882. Recaman, Bernardo (1973). "Questions on a sequence of Ulam". American Mathematical Monthly. 80 (8). Mathematical