

A277972


a(1) = 1. a(n) is the smallest unlisted number, the name of which contains the first letter of the name of a(n1) in English.


5



1, 2, 3, 8, 5, 4, 14, 15, 24, 10, 12, 13, 16, 6, 7, 17, 26, 18, 9, 11, 19, 20, 21, 22, 23, 25, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 64, 60, 61, 62, 63, 65, 66, 67, 68, 69
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


LINKS

Table of n, a(n) for n=1..69.


MATHEMATICA

names={"one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen", "twenty"};
lst={1}; next[n_]:=next[n]=Module[
{pos=Complement[Range[Length[names]], lst], i=1},
While[StringContainsQ[names[[pos[[i]]]], First[Characters[names[[Last[lst]]]]]]!=True, i++];
AppendTo[lst, pos[[i]]]]; seq[n_]:=Nest[next, 1, n]; seq[7]


CROSSREFS

Cf. A277971.
Sequence in context: A244668 A192646 A100208 * A222243 A264978 A268675
Adjacent sequences: A277969 A277970 A277971 * A277973 A277974 A277975


KEYWORD

easy,nonn,word


AUTHOR

Ivan N. Ianakiev, Nov 07 2016


STATUS

approved



