login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A056540
a(1) = 1; to form a(n+1), append a(n)-1, a(n)+1 at the beginning and the end of a(n), respectively. Ignore any leading 0's.
0
1, 12, 111213, 111212111213111214, 111212111213111213111212111213111214111212111213111215
OFFSET
1,2
EXAMPLE
To form the third term from the second term 12, append 11, 13 to the beginning and end of 12, respectively, to get 111213.
CROSSREFS
Sequence in context: A289569 A051368 A103482 * A331093 A369523 A328992
KEYWORD
base,easy,nonn
AUTHOR
Joseph L. Pe, Feb 09 2002
STATUS
approved