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!)
A363920 a(n) = n^(tpf(n) * dpf(n)), where tpf(n) is the total number of prime factors of n if n >= 2 and otherwise = 0; dpf(n) is the number of distinct prime factors of n if n >= 2 and otherwise = 0. 3
1, 1, 2, 3, 16, 5, 1296, 7, 512, 81, 10000, 11, 2985984, 13, 38416, 50625, 65536, 17, 34012224, 19, 64000000, 194481, 234256, 23, 110075314176, 625, 456976, 19683, 481890304, 29, 19683000000000, 31, 33554432, 1185921, 1336336, 1500625, 2821109907456, 37, 2085136 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) = n <=> n term of A000040(n) prepended with 1, n = 1, 2, 3, 5, 7, ...
a(n) != n <=> n term of A002808(n) prepended with 0, n = 0, 4, 6, 8, ...
Moebius(a(n)) = -[n is prime] for n >= 2, where [ ] denotes the Iverson bracket.
MAPLE
with(numtheory):
dpf := n -> ifelse(n = 0, 0, nops(factorset(n))): # dpf = [0] U [A001221].
tpf := n -> ifelse(n = 0, 0, bigomega(n)): # tpf = [0] U [A001222].
A363920 := n -> n^(tpf(n) * dpf(n)):
seq(A363920(n), n = 0..38);
PROG
(PARI) dpf(n, f) = if (n>=2, omega(f), 0);
tpf(n, f) = if (n>=2, bigomega(f), 0);
a(n) = my(f=factor(n)); n^(tpf(n, f) * dpf(n, f)); \\ Michel Marcus, Jul 27 2023
CROSSREFS
Sequence in context: A066841 A266211 A372793 * A074270 A254522 A007120
KEYWORD
nonn
AUTHOR
Peter Luschny, Jul 16 2023
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 September 17 03:10 EDT 2024. Contains 375984 sequences. (Running on oeis4.)