login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual appeal: Please make a donation to keep the OEIS running! Over 6000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A210023 a(0)=1. Let S = string of digits of a(0),a(1),a(2),... To get a(n+1) (n>=0), subtract next element of S from a(n) if that would give a positive number different from a(0),...,a(n), otherwise add it to a(n). 3
1, 2, 4, 8, 16, 15, 9, 10, 5, 14, 13, 13, 18, 17, 21, 20, 23, 22, 19, 20, 12, 11, 18, 20, 21, 23, 23, 25, 28, 26, 24, 25, 34, 32, 32, 31, 29, 30, 31, 32, 40, 38, 38, 36, 35, 33, 36, 38, 41, 39, 44, 42, 50, 48, 54, 52, 56, 58, 53, 56, 60, 57, 55, 58, 60, 63, 62, 64, 73, 70, 70, 67, 66, 69, 71, 75, 75, 72, 80, 77, 85, 82, 76, 79, 74, 77, 80, 83, 89, 86, 78, 82, 81, 84, 93, 97, 101, 105, 103, 98, 98 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

A base-dependent variant of Recamán's sequence A005132.

REFERENCES

Eric Angelini, Posting to Sequence Fans Mailing List, Mar 06 2012

LINKS

Table of n, a(n) for n=1..101.

Index entries for sequences related to Recamán's sequence

CROSSREFS

Cf. A005132, A210022 (for S), A210025, A210026.

Sequence in context: A066005 A066600 A210025 * A062116 A008381 A083780

Adjacent sequences:  A210020 A210021 A210022 * A210024 A210025 A210026

KEYWORD

nonn,base

AUTHOR

N. J. A. Sloane, Mar 16 2012

EXTENSIONS

Corrected and extended by Max Alekseyev, Nov 11 2012

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified November 19 03:59 EST 2017. Contains 294912 sequences.