In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
and
computer science
Computer science is the study of computation, information, and automation. Computer science spans Theoretical computer science, theoretical disciplines (such as algorithms, theory of computation, and information theory) to Applied science, ...
, Recamán's sequence
is a well known
sequence
In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed and order matters. Like a set, it contains members (also called ''elements'', or ''terms''). The number of elements (possibly infinite) is cal ...
defined by a
recurrence relation
In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
. Because its elements are related to the previous elements in a straightforward way, they are often defined using
recursion
Recursion occurs when the definition of a concept or process depends on a simpler or previous version of itself. Recursion is used in a variety of disciplines ranging from linguistics to logic. The most common application of recursion is in m ...
.
It takes its name after its inventor , a
Colombia
Colombia, officially the Republic of Colombia, is a country primarily located in South America with Insular region of Colombia, insular regions in North America. The Colombian mainland is bordered by the Caribbean Sea to the north, Venezuel ...
n mathematician.
__TOC__
Definition
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, ...
On-line encyclopedia of integer sequences (OEIS)
Recamán's sequence was named after its inventor, Colombian mathematician Bernardo Recamán Santos, by
Neil Sloane
__NOTOC__
Neil James Alexander Sloane FLSW (born October 10, 1939) is a British-American mathematician. His major contributions are in the fields of combinatorics, error-correcting codes, and sphere packing. Sloane is best known for being the cre ...
, creator of the
On-Line Encyclopedia of Integer Sequences (OEIS). The OEIS entry for this sequence is .
Visual representation
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
''Numberphile'' is an Educational entertainment, educational YouTube channel featuring videos that explore topics from a variety of fields of mathematics. In the early days of the channel, each video focused on a specific number, but the channe ...
YouTube channel
YouTube is an American social media and online video sharing platform owned by Google. YouTube was founded on February 14, 2005, by Steve Chen, Chad Hurley, and Jawed Karim who were three former employees of PayPal. Headquartered in San B ...
published a video title
The Slightly Spooky Recamán Sequence showing a visualization using alternating semi-circles, as it is shown in the figure at top of this page.
Sound representation
Values of the sequence can be associated with musical notes, in such that case the running of the sequence can be associated with an execution of a musical tune.
Properties
The sequence satisfies:
:
:
This is not a permutation of the integers: the first repeated term is
. Another one is
.
Conjecture
Neil Sloane
__NOTOC__
Neil James Alexander Sloane FLSW (born October 10, 1939) is a British-American mathematician. His major contributions are in the fields of combinatorics, error-correcting codes, and sphere packing. Sloane is best known for being the cre ...
has conjectured that every number eventually appears, but it has not been proved. Even though 10
230 terms have been calculated (in 2018), the number 852,655 has not appeared on the list.
Uses
Besides its mathematical and aesthetic properties, Recamán's sequence can be used to secure 2D images by
steganography
Steganography ( ) is the practice of representing information within another message or physical object, in such a manner that the presence of the concealed information would not be evident to an unsuspecting person's examination. In computing/ ...
.
Alternate sequence
The sequence is the most-known sequence invented by Recamán. There is another sequence, less known, defined as:
:
:
This OEIS entry is .
References
External links
*
* {{youTube , FGC5TdIiT9U , The Slightly Spooky Recamán Sequence. (June 14, 2018) Numberphile
The Recamán's sequenceat
Rosetta Code
Rosetta Code is a wiki-based programming chrestomathy website with implementations of common algorithms and solutions to various computer programming, programming problems in many different programming languages. It is named for the Rosetta Stone ...
The Ultimate Guide to Recamán’s Sequence (visualization, sonification, and animation)
Sequences and series
Integer sequences
Recurrence relations