|
|
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.
|
|
1
|
|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
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
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|