OFFSET
1,2
COMMENTS
The connection with binary tree A005940 is explained by the fact that on a trajectory from its root (1) to any number n, the numbers of the form 4k+2 will never occur consecutively (they are only born as right children of odd numbers, while all their right descendants from then onward are multiples of four). Thus all the runs are separate runs of length one, from which follows that A278222 when applied to A292382 yields only primorials. Moreover, the steps producing 4k+2 numbers are also only steps in A005940 that add new distinct prime factors to the generated number. Thus the total number of such steps is equal to the number of distinct prime factors of the eventual n. Hence A278222(A292382(n)) = A002110(A001221(n)).
LINKS
FORMULA
MATHEMATICA
Array[Product[Prime@ i, {i, PrimeNu@ #}] &, 105] (* Michael De Vlieger, Sep 25 2017 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Sep 25 2017
STATUS
approved