Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A098756
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A098756 Smallest available integer which fits into the repeating pattern 9876543210. +0
1
9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 98, 76, 54, 32, 10, 987, 65, 43, 210, 9876, 543, 2109, 87, 654, 3210, 98765, 432, 109, 876, 5432, 1098, 765, 43210, 987654, 32109, 8765, 432109, 87654, 321098, 7654, 3210987, 6543 (list; graph; listen)
OFFSET

1,1

COMMENT

a(n) must be chosen so its rightmost digit is not 1, with the exception a(n)=1.

FORMULA

To calculate the n-th term (n>10), find the greatest i<n such that first digit of a(i)=(last digit of a(n-1))-1 mod 10; then a(n) is a(i) augmented with the next digit (or next 2 digits if next digit is 1) - Sam Alexander (amnalexander(AT)yahoo.com), Jan 04 2005

EXAMPLE

To find the next term after 5432, we look for the most recent term beginning with 1 (1=2-1), which is 109. Augment 109 to get 1098.

CROSSREFS

Sequence in context: A109910 A084019 A061601 this_sequence A112454 A138531 A030076

Adjacent sequences: A098753 A098754 A098755 this_sequence A098757 A098758 A098759

KEYWORD

base,easy,nonn,more

AUTHOR

Eric Angelini (eric.angelini(AT)kntv.be), Oct 01 2004

EXTENSIONS

Corrected and extended by Sam Alexander (amnalexander(AT)yahoo.com), Jan 04 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 26 13:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research