OFFSET
1,4
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
The prime factors of 108 are (2,2,3,3,3), with even bisection (2,3), with product 6, so a(108) = 6.
The prime factors of 720 are (2,2,2,2,3,3,5), with even bisection (2,2,3), with product 12, so a(720) = 12.
MAPLE
f:= proc(n) local F, i;
F:= ifactors(n)[2];
F:= sort(map(t -> t[1]$t[2], F));
mul(F[i], i=2..nops(F), 2)
end proc:
map(f, [$1..100]); # Robert Israel, Aug 12 2024
MATHEMATICA
Table[Times@@Last/@Partition[Flatten[Apply[ConstantArray, FactorInteger[n], {1}]], 2], {n, 100}]
CROSSREFS
Positions of first appearances are A129597.
Positions of 1's are A008578.
Positions of primes are A168645.
The sum of prime indices of a(n) is A346698(n).
A001221 counts distinct prime factors.
A001222 counts all prime factors.
A344606 counts alternating permutations of prime indices.
A344617 gives the sign of the alternating sum of prime indices.
A346633 adds up the even bisection of standard compositions.
KEYWORD
nonn,look
AUTHOR
Gus Wiseman, Aug 08 2021
STATUS
approved