login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


A174721
Integers z that cannot be largest number in the group of consecutive positive integers, sum of whom is average of twin prime pairs.
0
1, 2, 4, 10, 13, 20, 31, 33, 48, 55, 64, 66, 70, 82, 98, 103, 241, 280
OFFSET
1,2
COMMENTS
Consider a group of consecutive positive Integers : a+b+...+y+z = Average of twin prime pairs. Number 4:: 1+2+3+4=10, 2+3+4=9, 3+4=7. Total 3 possible combination; all 3 sums are Not averages of twin prime pairs; number 4 part of this sequence 1+2+3=6, 3+4+5=12 == averages of twin prime pairs, numbers 3 and 5 are Not in this sequence.
MATHEMATICA
mx=2500; mz=mx+(mx+1); lst={}; Do[p=a; Do[p+=n; If[PrimeQ[p-1]&&PrimeQ[p+1], AppendTo[lst, n]], {n, a+1, mx+1}], {a, 1, mx}]; z=Union@lst; Complement[Range[mx], z]
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 24 05:38 EDT 2024. Contains 376185 sequences. (Running on oeis4.)