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!)
A282636 a(1) = 1. a(n) is the smallest natural number such that a(n) > a(n-1), the name of a(n) in (American) English ends with the letter a(n-1) starts with, and a(n) makes the sequence extendable. 1
1, 2, 8, 9, 10, 28, 38, 88, 89, 91, 97, 107, 122, 132, 142, 152, 162, 172, 182, 192, 202, 208, 228, 238, 248, 258, 268, 278, 288, 298, 308, 328, 338, 348, 358, 368, 378, 388, 398, 808, 809, 812, 821, 823, 825, 829, 831, 833, 835, 839, 841, 843, 845, 849, 851, 853, 855, 859 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
"a(n) makes the sequence extendable" means the name of a(n) does not start with any of the letters f and s.
LINKS
EXAMPLE
38 is followed by 88 as 48, 58, 68 and 78 cannot make the sequence extendable.
MATHEMATICA
names = StringReplace[
IntegerName /@ Range[1000], {"\[Hyphen]" -> "", " " -> ""}];
lst = {1}; next[n_] := next[n] =
Module[{pos = Last[lst] + 1},
While[
Or[
And[First[Characters[names[[Last[lst]]]]] !=
Last[Characters[names[[pos]]]], pos <= Length[names]],
MemberQ[{"f", "s"}, First[Characters[names[[pos]]]]] == True
],
pos++
];
AppendTo[lst, pos]
];
seq[n_] := Nest[next, 1, n]; seq[57]
CROSSREFS
Sequence in context: A360427 A369204 A237280 * A019511 A103190 A345019
KEYWORD
easy,nonn,word
AUTHOR
Ivan N. Ianakiev, Feb 20 2017
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 23 22:36 EDT 2024. Contains 371917 sequences. (Running on oeis4.)