OFFSET
1,1
LINKS
Diana Mecum, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = (p(n+1)-p(n)+1) * floor(p(n+1)/(p(n+1)-p(n)+1)), where p(n) is the n-th prime.
MATHEMATICA
(#[[2]]-#[[1]]+1)Floor[#[[2]]/(#[[2]]-#[[1]]+1)]&/@Partition[ Prime[ Range[ 60]], 2, 1] (* Harvey P. Dale, Apr 07 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Jul 13 2008
EXTENSIONS
More terms from Diana L. Mecum, Jul 21 2008
STATUS
approved