OFFSET
1,2
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
Michael De Vlieger, Log log scatterplot of a(n), n = 1..2^20.
FORMULA
EXAMPLE
Table of first 20 terms of this sequence and S = A135507.
n S(n) a(n)
------------------------
1 1 1
2 4 4
3 20 5
4 60 3
5 180 3
6 540 3
7 4860 9
8 19440 4
9 58320 3
10 174960 3
11 2274480 13
12 6823440 3
13 20470320 3
14 184232880 9
15 552698640 3
16 1658095920 3
17 31503822480 19
18 94511467440 3
19 283534402320 3
20 850603206960 3
MATHEMATICA
nn = 120; j = 1; {1}~Join~Reap[Do[k = 2 j + LCM[j, i]; Sow[k/j]; j = k, {i, 2, nn}] ][[-1, 1]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael De Vlieger, May 19 2024
STATUS
approved