Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A055457
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 23 17:09 EST 2009. Contains 167438 sequences.


AT&T Labs Research