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!)
A029722 Smallest positive integer containing the n-th letter of the alphabet (in US English), or -1 if no such integer exists. 3

%I #34 May 14 2022 19:58:48

%S 1000,1000000000,1000000000000000000000000000,100,1,4,8,3,5,-1,-1,11,

%T 1000000,1,1,1000000000000000000000000,1000000000000000,3,6,2,4,5,2,6,

%U 20,-1

%N Smallest positive integer containing the n-th letter of the alphabet (in US English), or -1 if no such integer exists.

%C This uses the short scale for the names of large numbers. - _Ken Takusagawa_, Oct 11 2016

%C In British English, a(1) is 101. - _Paul Duckett_, Apr 23 2022

%H Jeff Miller, <a href="http://jeff560.tripod.com/words15.html"> A Collection of Word Oddities and Trivia</a>

%e C first occurs in "octillion".

%t 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"};

%t candidates=AppendTo[AppendTo[Range[19],Table[10*i,{i,2,10}]],Table[10^i,{i,3,63,3}]]//Flatten//Quiet;

%t f[10]=f[11]=f[26]=-1; f[n_]:=Module[{k=1},

%t While[StringContainsQ[ToString[IntegerName[candidates[[k]],"Words"]],alphabet[[n]]]!=True,k++];candidates[[k]]];

%t f/@Range[26] (* _Ivan N. Ianakiev_, Apr 10 2018 *)

%Y Differs from A111098 because "zero" is not permitted.

%Y Cf. A114181.

%K fini,sign,full,word

%O 1,1

%A Anonymous submission.

%E a(5) corrected by _Donovan Johnson_, Dec 08 2004

%E Edited: Definition extended, "octillian" corrected, link and cross-reference provided; and sequence completed by _Rick L. Shepherd_, Aug 29 2009

%E Definition clarified by _Paul Duckett_, Apr 23 2022

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 12:27 EDT 2024. Contains 371912 sequences. (Running on oeis4.)