[go: up one dir, main page]

login
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
OFFSET
1,3
COMMENTS
Blind numbers. - Cino Hilliard, May 03 2004
There are 30276 terms, ending in 777777. - Michael S. Branicky, Aug 04 2022
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..30276 (full sequence; terms 1..10000 from Reinhard Zumkeller)
Roel and Bas van Dijk, Numerals package, Hackage (Haskell packages).
Eric Weisstein's World of Mathematics, Iban Number
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
-- Reinhard Zumkeller, Jan 23 2015
(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))
print(list(islice(agen(), 60))) # Michael S. Branicky, Aug 04 2022
CROSSREFS
Cf. A006933 (ban e), A008521 (ban o), A008523 (ban t), A089590 (ban u).
Sequence in context: A082673 A080724 A342780 * A047546 A266530 A266510
KEYWORD
nonn,easy,word,fini,full
AUTHOR
Eric W. Weisstein, Nov 09 2003
STATUS
approved