The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A253141 If n is a prime power, then a(n) = lambda(tau(n)) = A014963(A000005(n)); otherwise, a(n) = 1. 2
1, 2, 2, 3, 2, 1, 2, 2, 3, 1, 2, 1, 2, 1, 1, 5, 2, 1, 2, 1, 1, 1, 2, 1, 3, 1, 2, 1, 2, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 3, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 7, 1, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 2, 1, 5, 1, 2, 1, 1, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
For any integer sequence a, the sequence b such that b(n) = Product_{d|n} a(d) is a divisibility sequence. Since A253139(n) = Product_{d|n} a(d), A253139 is a divisibility sequence.
a(n) depends only on prime signature of n (cf. A025487). So a(24) = a(375) since 24 = 2^3*3 and 375 = 3*5^3 both have prime signature (3,1).
LINKS
Morgan Ward, A note on divisibility sequences, Bull. Amer. Math. Soc., 45 (1939), 334-336.
EXAMPLE
2 is a prime number, i.e., a prime power with 2 divisors; a(2) = A014963(2) = 2.
6 = 2*3 is not a prime power; a(6) = 1.
8 = 2^3 is a prime power with 4 divisors; a(8) = A014963(4) = 2.
32 = 2^5 is a prime power with 6 divisors; a(32) = A014963(6) = 1.
MATHEMATICA
Table[If[PrimePowerQ[n], Exp[MangoldtLambda[DivisorSigma[0, n]]], 1], {n, 1, 100}] (* Indranil Ghosh, Jul 19 2017 *)
PROG
(PARI)
A014963(n) = ispower(n, , &n); if(isprime(n), n, 1); \\ This function from Charles R Greathouse IV, Jun 10 2011
A253141(n) = if(1==omega(n), A014963(numdiv(n)), 1); \\ Antti Karttunen, Jul 19 2017
CROSSREFS
Sequence in context: A238509 A353932 A368798 * A100890 A262815 A076494
KEYWORD
nonn,easy
AUTHOR
Matthew Vandermast, Dec 27 2014
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 May 15 08:34 EDT 2024. Contains 372538 sequences. (Running on oeis4.)