login
A062842
Maximum number of zeros in the representation of n in any base.
2
0, 1, 1, 2, 1, 1, 1, 3, 2, 2, 1, 2, 1, 1, 1, 4, 3, 3, 2, 3, 2, 2, 1, 3, 2, 2, 3, 2, 2, 2, 1, 5, 4, 4, 3, 4, 3, 3, 2, 4, 3, 3, 2, 3, 2, 2, 1, 4, 3, 3, 2, 3, 2, 3, 2, 3, 2, 2, 1, 2, 1, 1, 2, 6, 5, 5, 4, 5, 4, 4, 3, 5, 4, 4, 3, 4, 3, 3, 2, 5, 4, 4, 3, 4, 3, 3, 3, 4, 3, 3, 2, 3, 2, 2, 1, 5, 4, 4, 3, 4
OFFSET
1,4
EXAMPLE
a[10]=2 since 10 in base 2 is 1010, containing 2 zeros
CROSSREFS
Sequence in context: A047020 A127832 A107249 * A126805 A288003 A304382
KEYWORD
base,easy,nonn
AUTHOR
Erich Friedman, Jul 21 2001
STATUS
approved