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!)
A324894 Multiplicative with a(p^e) = p^e if sigma(p^e) is composite, and 1 otherwise. 2
1, 1, 3, 1, 5, 3, 7, 8, 1, 5, 11, 3, 13, 7, 15, 1, 17, 1, 19, 5, 21, 11, 23, 24, 1, 13, 27, 7, 29, 15, 31, 32, 33, 17, 35, 1, 37, 19, 39, 40, 41, 21, 43, 11, 5, 23, 47, 3, 49, 1, 51, 13, 53, 27, 55, 56, 57, 29, 59, 15, 61, 31, 7, 1, 65, 33, 67, 17, 69, 35, 71, 8, 73, 37, 3, 19, 77, 39, 79, 5, 81, 41, 83, 21, 85, 43, 87, 88, 89, 5, 91 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
Multiplicative with a(p^e) = p^e if (p^(1+e) - 1)/(p-1) = 1 + p + p^2 + ... + p^e is composite, and 1 otherwise.
a(n) = n / A324892(n).
EXAMPLE
For n = 150 = 2 * 3 * 5^2, sigma(2) = 3 is prime, sigma(3) = 4 is not prime, and sigma(25) = 31 is prime, thus a(150) = 3.
PROG
(PARI) A324894(n) = { my(f=factor(n)); prod(i=1, #f~, (f[i, 1]^!isprime(sigma(f[i, 1]^f[i, 2])))^f[i, 2]); };
CROSSREFS
Sequence in context: A344674 A097062 A350948 * A200498 A227361 A318726
KEYWORD
nonn,mult
AUTHOR
Antti Karttunen, Mar 29 2019
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 18 18:20 EDT 2024. Contains 371781 sequences. (Running on oeis4.)