|
Search: id:A055457
|
|
|
| A055457 |
|
5^a(n) exactly divides 5n. Or, 5-adic valuation of 5n. |
|
+0 4
|
|
| 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 3, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 3, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 3, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 3, 1, 1, 1, 1, 2
(list; graph; listen)
|
|
|
OFFSET
|
1,5
|
|
|
COMMENT
|
More generally, consider the sequence defined by p^a(n) exactly divides pn. For p = 3 we have A051064 and for p = 2 we have A001511.
|
|
LINKS
|
T. D. Noe, Table of n, a(n) for n=1..1000
|
|
FORMULA
|
G.f.: Sum(k>=0, x^(5^k)/(1-x^5^k)). - Ralf Stephan (ralf(AT)ark.in-berlin.de), Apr 12 2002
Multiplicative with a(p^e) = e+1 if p = 5, 1 otherwise
a(n)=(-1)*sum_{d divides n} mu(5d)*tau(n/d) - Benoit Cloitre (benoit7848c(AT)orange.fr), Jun 21 2007
|
|
EXAMPLE
|
a(5) = 2 since 5^2 exactly divides 5 times 5, a(25) = 3 since 5^3 exactly divides 5 times 25 and a(125) = 4 since 5^4 exactly divides 5 times 125.
|
|
PROGRAM
|
(PARI) a(n)=-sumdiv(n, d, moebius(5*d)*numdiv(n/d)) - Benoit Cloitre (benoit7848c(AT)orange.fr), Jun 21 2007
|
|
CROSSREFS
|
Cf. A001511, A007949, A051064.
Sequence in context: A074064 A139549 A130782 this_sequence A032542 A107038 A043278
Adjacent sequences: A055454 A055455 A055456 this_sequence A055458 A055459 A055460
|
|
KEYWORD
|
nonn,mult
|
|
AUTHOR
|
Alford Arnold (Alford1940(AT)aol.com), Jun 25 2000
|
|
|
Search completed in 0.002 seconds
|