A029722 Smallest positive integer containing the n-th letter of the alphabet (in US English), or -1 if no such integer exists.
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
Offset: 1
Examples
C first occurs in "octillion".
Links
- Jeff Miller, A Collection of Word Oddities and Trivia
Programs
-
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]]]; f/@Range[26] (* Ivan N. Ianakiev, Apr 10 2018 *)
Extensions
a(5) corrected by Donovan Johnson, Dec 08 2004
Edited: Definition extended, "octillian" corrected, link and cross-reference provided; and sequence completed by Rick L. Shepherd, Aug 29 2009
Definition clarified by Paul Duckett, Apr 23 2022
Comments