|
|
A029722
|
|
Smallest positive integer containing the n-th letter of the alphabet (in US English), or -1 if no such integer exists.
|
|
3
|
|
|
1000, 1000000000, 1000000000000000000000000000, 100, 1, 4, 8, 3, 5, -1, -1, 11, 1000000, 1, 1, 1000000000000000000000000, 1000000000000000, 3, 6, 2, 4, 5, 2, 6, 20, -1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
This uses the short scale for the names of large numbers. - Ken Takusagawa, Oct 11 2016
In British English, a(1) is 101. - Paul Duckett, Apr 23 2022
|
|
LINKS
|
|
|
EXAMPLE
|
C first occurs in "octillion".
|
|
MATHEMATICA
|
alphabet={"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"};
candidates=AppendTo[AppendTo[Range[19], Table[10*i, {i, 2, 10}]], Table[10^i, {i, 3, 63, 3}]]//Flatten//Quiet;
f[10]=f[11]=f[26]=-1; f[n_]:=Module[{k=1},
While[StringContainsQ[ToString[IntegerName[candidates[[k]], "Words"]], alphabet[[n]]]!=True, k++]; candidates[[k]]];
|
|
CROSSREFS
|
Differs from A111098 because "zero" is not permitted.
|
|
KEYWORD
|
fini,sign,full,word
|
|
AUTHOR
|
Anonymous submission.
|
|
EXTENSIONS
|
Edited: Definition extended, "octillian" corrected, link and cross-reference provided; and sequence completed by Rick L. Shepherd, Aug 29 2009
|
|
STATUS
|
approved
|
|
|
|