OFFSET
1,2
COMMENTS
The sequence is similar built like A094222 but includes 1 as divisor or adds 1 to the number of distinct primes dividing a(n).
LINKS
Samuel Frankmartin-Sebastian Wiethüchter, Table of n, a(n) for n = 1..5000
FORMULA
a(n) = a(n-1) + A083399(a(n-1)) for n>1.
EXAMPLE
MAPLE
MATHEMATICA
a[1] = 1; a[n_] := a[n] = a[n - 1] + PrimeNu[a[n - 1]] + 1; Array[a, 60] (* Amiram Eldar, May 01 2020 *)
PROG
(PARI) f(n) = omega(n) + 1; \\ A083399
lista(nn) = {my(a=1, va = List(a)); for (n=2, nn, a = a+f(a); listput(va, a); ); Vec(va); } \\ Michel Marcus, May 03 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Samuel Frankmartin-Sebastian Wiethüchter, May 01 2020
STATUS
approved