OFFSET
0,2
COMMENTS
Tree with both numerators (this sequence) and denominators (A337377) shown starts as:
1/1
|
2
-
1
3 / \ 4
- ................. ................. -
2 1
5 / \ 3 9 / \ 8
- ....... ....... - - ....... ....... -
3 1 4 1
/ \ / \ / \ / \
/ \ / \ / \ / \
/ \ / \ / \ / \
7 10 5 6 25 9 27 16
- -- - - -- - -- --
5 3 2 1 9 2 8 1
/ \ / \ / \ / \ / \ / \ / \ / \
11 14 21 20 7 5 15 12 49 50 25 9 125 27 81 32
-- -- -- -- - - -- -- -- -- -- - --- -- -- --
7 5 10 3 3 1 4 1 25 9 6 1 27 4 16 1
etc.
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..8191
Antti Karttunen, Data supplement: n, a(n) computed for n = 0..65537
FORMULA
MATHEMATICA
Array[#1/GCD[#1, #2] & @@ {#, Apply[Times, Map[If[#1 <= 2, 1, NextPrime[#1, -1]]^#2 & @@ # &, FactorInteger[#]]]} &@ Function[p, Times @@ Flatten@ Table[Prime[Count[Flatten[#], 0] + 1]^#[[1, 1]] &@ Take[p, -i], {i, Length[p]}]]@ Partition[Split[Join[IntegerDigits[# - 1, 2], {2}]], 2] &, 82] (* Michael De Vlieger, Aug 27 2020 *)
PROG
CROSSREFS
KEYWORD
AUTHOR
STATUS
approved