login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

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

%I #10 Apr 07 2018 07:21:12

%S 2,3,6,10,12,15,18,20,28,30,35,40,42,45,49,56,60,63,70,72,77,80,84,90,

%T 100,102,105,108,110,120,130,133,138,143,150,154,161,165,168,175,180,

%U 187,192,195,198,208,221,225,228,230,238,240,242,252,259,266,270,273

%N 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.

%H Diana Mecum, <a href="/A140785/b140785.txt">Table of n, a(n) for n = 1..1000</a>

%F 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.

%t (#[[2]]-#[[1]]+1)Floor[#[[2]]/(#[[2]]-#[[1]]+1)]&/@Partition[ Prime[ Range[ 60]],2,1] (* _Harvey P. Dale_, Apr 07 2018 *)

%Y Cf. A076368, A113709.

%K nonn

%O 1,1

%A _Leroy Quet_, Jul 13 2008

%E More terms from _Diana L. Mecum_, Jul 21 2008