The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A078415 Let f(n) = fraction of digits that are nonzero when n is written in base 2 and g(n) the same fraction for base 3. Let h(n) = max {f(n), g(n)}. Sequence gives n for which h(n) sets a new low record. 1
 1, 6, 9, 18, 162, 261, 4376, 19712, 32805, 65610, 131220, 4785156, 9570312, 272629962, 1208614932, 2542645806624, 154206526918656, 2348694485729280, 9341451062288388, 18049789376104448, 451521135633235968 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS Suggested by the following question from Andreas Weingartner. Prove or disprove: there exists an epsilon>0 such that no natural number has the property that in base 2 as well as in base 3 at most (epsilon)*100% of the digits are nonzero. LINKS Robert Harley and Benne de Weger, Table of n, a(n) for n = 1..23 (terms 1 through 21 were computed by Robert Harley; terms 22 and 23 by Benne de Weger, Oct 16 2014) FORMULA Heuristically one might expect (except possibly for some small examples) such an eps for bases a and b at the solution of: (log(a-1)*log(b)+log(b-1)*log(a))*eps - log(a)*log(b) = (eps*log(eps)+(1-eps)*log(1-eps))*(log(a)+log(b)). For bases 2 and 3 this is about 0.131737... (Formula and value for eps corrected by Benne de Weger, Oct 13 2014) EXAMPLE 18 = 10010 in base 2, f(18) = 2/5, 18 = 200 in base 3, g(18) = 1/3, h(n) = max {2/5, 1/3} = 2/5 and this is a new (low) record. CROSSREFS Sequence in context: A270794 A297623 A293283 * A265099 A023041 A118277 Adjacent sequences: A078412 A078413 A078414 * A078416 A078417 A078418 KEYWORD nonn,base AUTHOR Robert Harley, Dec 28 2002 STATUS approved

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.

Last modified September 22 10:53 EDT 2023. Contains 365520 sequences. (Running on oeis4.)