|
|
A089589
|
|
Iban numbers (the letter i is banned from the English name of the number).
|
|
10
|
|
|
0, 1, 2, 3, 4, 7, 10, 11, 12, 14, 17, 20, 21, 22, 23, 24, 27, 40, 41, 42, 43, 44, 47, 70, 71, 72, 73, 74, 77, 100, 101, 102, 103, 104, 107, 110, 111, 112, 114, 117, 120, 121, 122, 123, 124, 127, 140, 141, 142, 143, 144, 147, 170, 171, 172, 173, 174, 177, 200, 201
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
|
|
LINKS
|
|
|
PROG
|
(Haskell)
import Data.Maybe (fromJust)
import Data.Text (Text); import qualified Data.Text as T (all)
import Text.Numeral.Grammar.Reified (defaultInflection)
import qualified Text.Numeral.Language.EN as EN -- see link
a089589 n = a089589_list !! (n-1)
a089589_list = filter (T.all (/= 'i') . numeral) [0..] where
numeral :: Integer -> Text
numeral = fromJust . EN.gb_cardinal defaultInflection
(Python)
from itertools import islice
from num2words import num2words
def agen(): yield from (k for k in range(10**6) if "i" not in num2words(k))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy,word,fini,full
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|