login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A119354
Smallest number which does not use digit n-1 written in base n, but does use digit b-1 written in base b for any 1<b<n.
3
0, 1, 2, 7, 14, 23, 139, 47, 485, 319, 989, 239, 5927, 23319, 27719, 13679, 57119, 159119, 746927, 500399, 1627919, 2585519, 3694397, 7305479, 17067599, 82265039
OFFSET
2,3
COMMENTS
A119352(a(n)) = n and A119352(m) != n for m < a(n). - Reinhard Zumkeller, Apr 12 2015
PROG
(Haskell)
import Data.List (elemIndex); import Data.Maybe (fromJust)
a119354 = fromJust . (`elemIndex` a119352_list)
-- Reinhard Zumkeller, Apr 12 2015
CROSSREFS
Cf. A119352.
Cf. A106372.
Sequence in context: A324587 A018392 A051640 * A249547 A088207 A194111
KEYWORD
base,more,nonn
AUTHOR
EXTENSIONS
More terms from R. J. Mathar, Sep 07 2007
Terms a(21) - a(27) by Reinhard Zumkeller, Apr 12 2015
STATUS
approved