OFFSET
1,2
COMMENTS
This sequence is a variant of A280864.
EXAMPLE
The first terms, alongside their prime factors, are:
n a(n) Prime factors
-- ---- --------------------
1 1
2 2 2
3 4 2
4 5 5
5 10 2 5
6 12 2 3
7 15 3 5
8 20 2 5
9 22 2 11
10 33 3 11
11 36 2 3
12 38 2 19
13 57 3 19
14 60 2 3 5
15 70 2 5 7
16 77 7 11
17 88 2 11
PROG
(PARI) { p = 0; r = 1; m = 1; for (n = 1, 54, forstep (v = ceil((p+1)/m)*m, oo, m, if (gcd(v, r)==m, print1 (v", "); r = vecprod(factor(p = v)[, 1]~); m = r / m; break; ); ); ); }
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Jul 28 2024
STATUS
approved