OFFSET
1,1
LINKS
Tom Mueller, Prime and Composite Terms in Sloane's Sequence A056542, Journal of Integer Sequences, Vol. 8 (2005), Article 05.3.3.
MATHEMATICA
Select[ FoldList[ #1*#2 + 1 &, 0, Range[2, 100]], PrimeQ[ # ] &] (* Robert G. Wilson v *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul Muljadi, Oct 09 2005
EXTENSIONS
a(5) from Robert G. Wilson v, Oct 11 2005
STATUS
approved