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!)
A373381 a(n) = gcd(bigomega(n), A056239(n)), where bigomega is number of prime factors with repetition, and A056239 is fully additive with a(p) = primepi(p). 1
0, 1, 1, 2, 1, 1, 1, 3, 2, 2, 1, 1, 1, 1, 1, 4, 1, 1, 1, 1, 2, 2, 1, 1, 2, 1, 3, 3, 1, 3, 1, 5, 1, 2, 1, 2, 1, 1, 2, 2, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 6, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 4, 2, 1, 4, 2, 1, 2, 4, 1, 4, 2, 1, 1, 2, 1, 1, 1, 3, 3, 4, 1, 1, 1, 1, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
As A001222 and A056239 are both fully additive sequences, all sequences that give the positions of multiples of some natural number k in this sequence are closed under multiplication, i.e., are multiplicative semigroups; for example A340784.
LINKS
FORMULA
a(n) = gcd(A001222(n), A056239(n)).
PROG
(PARI)
A056239(n) = if(1==n, 0, my(f=factor(n)); sum(i=1, #f~, f[i, 2] * primepi(f[i, 1])));
A373381(n) = gcd(bigomega(n), A056239(n));
CROSSREFS
Cf. A001222, A056239, A340784 (positions of even terms), A353331 (their characteristic function).
Cf. also A354871, A373370.
Sequence in context: A246702 A089398 A345272 * A373370 A331183 A284082
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 06 2024
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 July 11 23:20 EDT 2024. Contains 374237 sequences. (Running on oeis4.)