login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A066706 Numbers k that divide the average of prime(k) and prime(k+1). 2

%I

%S 2,3,10,30,182,439,1058,40086,40090,40114,40120,100347,251708,637328,

%T 637336,637340,4124468,10553440,10553445,10553829,27067138,179992932,

%U 179993008,179993012,179993017,465769835

%N Numbers k that divide the average of prime(k) and prime(k+1).

%C Each cluster of candidates is about e (2.71828...) times as large as the previous one. - _Robert G. Wilson v_, Jan 18 2002

%e The average of p(3) = 5 and p(3+1) = 7 is 6, which is divisible by 3; so 3 is a term of the sequence.

%t Select[ Range[10^7], Mod[ (Prime[ # + 1] + Prime[ # ])/2, # ] == 0 & ]

%t a = 2; b = 3; Do[b = Prime[n + 1]; If[ Mod[(a + b)/2, n] == 0, Print[n]]; a = b, {n, 1, 2*10^9} ]

%K nonn

%O 1,1

%A _Joseph L. Pe_, Jan 14 2002

%E More terms from _Robert G. Wilson v_, Jan 16 2002

%E More terms from _Robert G. Wilson v_, Jan 18 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 19 11:21 EDT 2021. Contains 348088 sequences. (Running on oeis4.)