[go: up one dir, main page]

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”).

Revision History for A282637 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
a(1) = 1. a(n) is the smallest unlisted natural number whose name in (American) English ends with the letter a(n-1) starts with, and makes the sequence extendable.
(history; published version)
#8 by Jon E. Schoenfield at Sun Apr 28 18:24:01 EDT 2019
STATUS

editing

approved

#7 by Jon E. Schoenfield at Sun Apr 28 18:23:57 EDT 2019
NAME

a(1) = 1. a(n) is the smallest unlisted natural number such that its whose name in (American) English ends with the letter a(n-1) starts with, and makes the sequence extendable.

COMMENTS

"a(n) ... makes the sequence extendable" means the name of a(n) does not start with any of the letters f and s.

STATUS

approved

editing

#6 by N. J. A. Sloane at Thu Feb 23 22:59:48 EST 2017
STATUS

proposed

approved

#5 by Ivan N. Ianakiev at Wed Feb 22 03:16:53 EST 2017
STATUS

editing

proposed

#4 by Ivan N. Ianakiev at Wed Feb 22 03:16:45 EST 2017
MATHEMATICA

names = {"one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten"};

names = StringReplace[

IntegerName /@ Range[1000], {"\[Hyphen]" -> "", " " -> ""}];

lst = {1}; next[n_] := next[n] =

next[n_] := next[n] = Module[{pos = Complement[Range[Length[names]], lst], i = 1},

And[

And[ First[Characters[names[[Last[lst]]]]] != Last[Characters[names[[pos[[i]]]]]], pos[[i]] <= Length[names]],

pos[[i]] <= Length[names]

],

AppendTo[lst, pos[[i]]]

];

AppendTo[lst, pos[[i]]]]; seq[n_] := Nest[next, 1, n]; seq[365]

STATUS

proposed

editing

#3 by Ivan N. Ianakiev at Mon Feb 20 07:43:03 EST 2017
STATUS

editing

proposed

#2 by Ivan N. Ianakiev at Mon Feb 20 07:42:08 EST 2017
NAME

allocated for Ivan N. Ianakiev

a(1) = 1. a(n) is the smallest unlisted natural number such that its name in (American) English ends with the letter a(n-1) starts with, and makes the sequence extendable.

DATA

1, 2, 8, 3, 28, 38, 88, 9, 10, 98, 11, 12, 108, 22, 128, 32, 138, 82, 21, 148, 92, 13, 158, 102, 122, 132, 142, 152, 162, 172, 182, 192, 202, 168, 222, 178, 232, 188, 242, 198, 252, 208, 228, 238, 248, 258, 268, 278, 288, 298, 308, 328, 338, 348, 358, 368, 378, 388, 398, 808, 23, 828, 25, 838, 29, 848

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.

EXAMPLE

38 is followed by 88 as 48, 58, 68 and 78 cannot make the sequence extendable.

MATHEMATICA

names = {"one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten"};

lst = {1};

next[n_] := next[n] = Module[{pos = Complement[Range[Length[names]], lst], i = 1},

While[

Or[

And[First[Characters[names[[Last[lst]]]]] != Last[Characters[names[[pos[[i]]]]]], pos[[i]] <= Length[names]],

MemberQ[{"f", "s"}, First[Characters[names[[pos[[i]]]]]]] == True

],

i++

];

AppendTo[lst, pos[[i]]]]; seq[n_] := Nest[next, 1, n]; seq[3]

CROSSREFS
KEYWORD

allocated

easy,nonn,word

AUTHOR

Ivan N. Ianakiev, Feb 20 2017

STATUS

approved

editing

#1 by Ivan N. Ianakiev at Mon Feb 20 06:02:31 EST 2017
NAME

allocated for Ivan N. Ianakiev

KEYWORD

allocated

STATUS

approved