login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A139079 Smallest number not yet in the sequence that contains the last digit of the previous term, with a(1) = 1. 0
1, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 101, 11, 12, 2, 21, 13, 3, 23, 31, 14, 4, 24, 34, 41, 15, 5, 25, 35, 45, 51, 16, 6, 26, 36, 46, 56, 61, 17, 7, 27, 37, 47, 57, 67, 71, 18, 8, 28, 38, 48, 58, 68, 78, 81, 19, 9, 29, 39, 49, 59, 69, 79, 89, 91, 102, 22, 32, 42, 52, 62, 72 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
This is a permutation of the positive integers.
LINKS
MAPLE
a := [1] ; for n from 2 to 100 do ldig := op(-1, a) mod 10 ; for c from 1 do if c in a then ; else dgs := convert(c, base, 10) ; if ldig in dgs then a := [op(a), c] ; break; fi; fi; od: od: print(a) ; # R. J. Mathar
CROSSREFS
Sequence in context: A044895 A370400 A156819 * A360443 A209932 A011540
KEYWORD
base,nonn
AUTHOR
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 02:28 EDT 2024. Contains 371782 sequences. (Running on oeis4.)