A342456 A276086 applied to the primorial inflation of Doudna-tree, where A276086(n) is the prime product form of primorial base expansion of n.
2, 3, 5, 9, 7, 25, 35, 15, 11, 49, 117649, 625, 717409, 1225, 55, 225, 13, 121, 1771561, 2401, 36226650889, 184877, 1127357, 875, 902613283, 514675673281, 3780549773, 1500625, 83852850675321384784127, 3025, 62004635, 21, 17, 169, 4826809, 14641, 8254129, 143, 2924207, 77, 8223741426987700773289, 59797108943, 546826709
Offset: 0
Keywords
Links
Crossrefs
Programs
-
Mathematica
Block[{a, f, r = MixedRadix[Reverse@ Prime@ Range@ 24]}, f[n_] := Times @@ MapIndexed[Prime[First[#2]]^#1 &, Reverse@ IntegerDigits[n, r]]; a[0] = 1; a[1] = 2; a[n_] := a[n] = If[EvenQ@ n, (Times @@ Map[Prime[PrimePi@ #1 + 1]^#2 & @@ # &, FactorInteger[#]] - Boole[# == 1])*2^IntegerExponent[#, 2] &[a[n/2]], 2 a[(n - 1)/2]]; Array[f@ a[#] &, 43, 0]] (* Michael De Vlieger, Mar 17 2021 *)
-
PARI
A276086(n) = { my(m=1, p=2); while(n, m *= (p^(n%p)); n = n\p; p = nextprime(1+p)); (m); }; A283980(n) = {my(f=factor(n)); prod(i=1, #f~, my(p=f[i, 1], e=f[i, 2]); if(p==2, 6, nextprime(p+1))^e)}; A329886(n) = if(n<2,1+n,if(!(n%2),A283980(A329886(n/2)),2*A329886(n\2))); A342456(n) = A276086(A329886(n));
Comments