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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A022332 Exponent of 2 (value of i) in n-th number of form 2^i*5^j. 3
0, 1, 2, 0, 3, 1, 4, 2, 0, 5, 3, 1, 6, 4, 2, 0, 7, 5, 3, 1, 8, 6, 4, 2, 9, 0, 7, 5, 3, 10, 1, 8, 6, 4, 11, 2, 9, 0, 7, 5, 12, 3, 10, 1, 8, 6, 13, 4, 11, 2, 9, 0, 7, 14, 5, 12, 3, 10, 1, 8, 15, 6, 13, 4, 11, 2, 9, 16, 0, 7, 14, 5, 12, 3, 10, 17, 1, 8, 15, 6, 13, 4, 11, 18, 2, 9, 16, 0, 7, 14, 5, 12, 19, 3, 10 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n) = A007814(A003592(n)). - Amiram Eldar, Feb 07 2020
MAPLE
A022332 := proc(n)
end proc:
seq(A022332(n), n=1..20) ; # R. J. Mathar, Aug 04 2016
MATHEMATICA
s = {}; m = 12; Do[n = 5^k; While[n <= 5^m, AppendTo[s, n]; n *= 2], {k, 0, m}]; IntegerExponent[#, 2] & /@ Union[s]
PROG
(PARI) lista(nn) = {vec = vector(nn, i , i); subset = select(n->(n/(2^valuation(n, 2)*5^valuation(n, 5)) == 1), vec); for (i = 1, #subset, print1(valuation(subset[i], 2), ", "); ); } \\ Michel Marcus, Oct 01 2013
CROSSREFS
Sequence in context: A029178 A082375 A025644 * A215589 A274185 A161162
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected by David W. Wilson, Oct 15 1997
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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 19:56 EDT 2024. Contains 371916 sequences. (Running on oeis4.)