proposed
approved
proposed
approved
editing
proposed
proposed
approved
editing
proposed
a[p_?PrimeQ] := a[p] = Prime[ PrimePi[p] + 1]; a[1] = 1; a[n_] := a[n] = Times @@ ( a[First[#]] ^ Last[#] & ) /@ FactorInteger[n]; (* after _Jean-François Alcover, _, in A003961 *) A[n_]:= If[n<2, n + 1, If[EvenQ[n], a[A[n/2]], A[(n - 1)/2] A[(n + 1)/2]]] ; Table[A[n], {n, 0, 51}] (* sequence A260443 *) Table[PrimeOmega[LCM[A[n], A[n + 1]]], {n, 0, 101}] (* Indranil Ghosh, Mar 22 2017 *)
a[p_?PrimeQ] := a[p] = Prime[ PrimePi[p] + 1]; a[1] = 1; a[n_] := a[n] = Times @@ ( a[First[#]] ^ Last[#] & ) /@ FactorInteger[n]; (* after Jean-François Alcover, in A003961 *) A[n_]:= If[n<2, n + 1, If[EvenQ[n], a[A[n/2]], A[(n - 1)/2] A[(n + 1)/2]]] ; Table[A[n], {n, 0, 51}] (* sequence A260443 *) Table[PrimeOmega[LCM[A[n], A[n + 1]]], {n, 0, 101}] (* Indranil Ghosh, Mar 22 2017 *)
proposed
editing
editing
proposed
Antti Karttunen, <a href="/A284009/b284009.txt">Table of n, a(n) for n = 0..8191</a>