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”).

A106372
Smallest number m containing no zeros in base n representation but at least one zero in all base b representations with 1<b<n.
3
1, 2, 6, 12, 20, 60, 147, 384, 896, 360, 1540, 2760, 2304, 11016, 13860, 6720, 123060, 255024, 658370, 1422720, 1425606, 1179360, 2920500, 12252240, 9989280, 24227280, 242573760, 68424048, 990208128, 410810400, 602751600
OFFSET
2,2
COMMENTS
A106370(a(n)) = n and A106370(m) <> n for m < a(n).
a(46) = 854710136280. a(45) and all further terms are at least 10^13.
LINKS
Michael Gottlieb, Table of n, a(n) for n = 2..44 (terms 2..32 from Reinhard Zumkeller, terms 33..44 from Michael Gottlieb).
EXAMPLE
a(10)=896, A106370(896)=10: 896[base-9]='1205',
896[octal]='1600', 896[base-7]='2420', 896[base-6]='4052',
896[base-5]='12041', 896[base-4]='32000', 896[ternary]='1020012',
896[binary]='1110000000'.
PROG
(Haskell)
import Data.List (elemIndex); import Data.Maybe (fromJust)
a106372 = (+ 1) . fromJust . (`elemIndex` a106370_list)
-- Reinhard Zumkeller, Apr 12 2015
CROSSREFS
Sequence in context: A290209 A286780 A099885 * A354895 A214916 A323291
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, May 01 2005
EXTENSIONS
Generated a(33)-a(44) and a(46), with linked C++ program
STATUS
approved