OFFSET
1,2
COMMENTS
Successive differences are primorials.
FORMULA
From Antti Karttunen, Feb 06 2024: (Start)
For n >= 2, a(n) = 1 + A143293(n-2).
For n >= 3, a(n) = 2 + A060389(n-2).
(End)
EXAMPLE
a(3) = 4, a(4) = 10 and a(5) = 40 and (40-10)/(10-4) = 5 = prime(3).
MATHEMATICA
Join[{1}, Accumulate[FoldList[Times, 1, Prime[Range[20]]]]+1] (* Harvey P. Dale, Dec 14 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy and Meenakshi Srikanth (menakan_s(AT)yahoo.com), Jun 14 2003
EXTENSIONS
More terms from Vladeta Jovovic, Jun 17 2003
STATUS
approved