OFFSET
3,2
FORMULA
MATHEMATICA
a[n_] := 2 * NextPrime[n, -1] - n; Array[a, 100, 3] (* Amiram Eldar, Jun 21 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Brian Beard, Jun 21 2021
EXTENSIONS
More terms from Jon E. Schoenfield, Jun 21 2021
STATUS
approved