A140785 a(n) = the single integer k, where p(n) <= k <= p(n+1), that is divisible by (p(n+1)-p(n)+1), where p(n) is the n-th prime.
2, 3, 6, 10, 12, 15, 18, 20, 28, 30, 35, 40, 42, 45, 49, 56, 60, 63, 70, 72, 77, 80, 84, 90, 100, 102, 105, 108, 110, 120, 130, 133, 138, 143, 150, 154, 161, 165, 168, 175, 180, 187, 192, 195, 198, 208, 221, 225, 228, 230, 238, 240, 242, 252, 259, 266, 270, 273
Offset: 1
Keywords
Links
- Diana Mecum, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
(#[[2]]-#[[1]]+1)Floor[#[[2]]/(#[[2]]-#[[1]]+1)]&/@Partition[ Prime[ Range[ 60]],2,1] (* Harvey P. Dale, Apr 07 2018 *)
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.
Extensions
More terms from Diana L. Mecum, Jul 21 2008