OFFSET
1,1
COMMENTS
The hypotrochoid is given by three parameters: R is the radius of the fixed circle, r is the radius of the rotating disk, d is the distance from the "drawing" point of the disk to the center of this disk.
LINKS
FORMULA
a(n) = prime(n+1)*(prime(n+1) - prime(n) - 1) + 2.
EXAMPLE
See illustration in Links.
a(4) = 11*(11 - 7 - 1) + 2 = 35.
MATHEMATICA
a[n_]:=Prime[n+1]*(Prime[n+1] - Prime[n]- 1) + 2; Array[a, 51] (* Stefano Spezia, Feb 18 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Nicolay Avilov, Feb 18 2023
STATUS
approved