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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A359556 Number of ways to represent the average of the n-th twin prime pair as arithmetic mean of the averages of two other twin prime pairs. 1
0, 0, 1, 1, 1, 1, 2, 2, 2, 1, 1, 6, 1, 2, 0, 1, 3, 4, 2, 3, 0, 7, 2, 3, 1, 4, 4, 1, 3, 6, 5, 1, 1, 3, 4, 6, 1, 11, 6, 7, 3, 6, 2, 10, 5, 4, 4, 6, 4, 2, 1, 7, 1, 4, 5, 4, 4, 4, 8, 7, 2, 3, 4, 3, 3, 10, 9, 3, 5, 21, 17, 5, 12, 5, 2, 3, 3, 18, 13, 4, 19, 11, 15, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,7
LINKS
EXAMPLE
a(4) = 1 because 18, the average of the 4th twin prime pair (17, 19), can be expressed in one way only as the arithmetic mean of the averages of two other twin prime pairs. These are (5, 7) and (29, 31) with their averages 6 and 30: (6 + 30)/2 = 36/2 = 18.
a(7) = 2 because 60, the average of the 7th twin prime pair (59, 61), can be expressed in two ways as the arithmetic mean of the averages of two other twin prime pairs. Firstly, by the averages 12 and 108 of the twin prime pairs (11, 13) and (107, 109), since (12 + 108)/2 = 120/2 = 60. Secondly, by the averages 18 and 102 of the twin prime pairs (17, 19) and (101, 103), as (18 + 102)/2 = 120/2 = 60 also.
a(15) = 0 because 198, the average of the 15th twin prime pair (197, 199), cannot be expressed as the arithmetic mean of the averages of any other two twin prime pairs.
MATHEMATICA
means = Select[2*Range[3500], PrimeQ[# - 1] && PrimeQ[# + 1] &]; Count[(Plus @@@ Subsets[means, {2}])/2, #] & /@ Select[means, # < Max[means]/2 &] (* Amiram Eldar, Jan 06 2023 *)
CROSSREFS
Sequence in context: A348768 A210673 A129320 * A320844 A212119 A096831
KEYWORD
nonn
AUTHOR
Tamas Sandor Nagy, Jan 05 2023
EXTENSIONS
More terms from Amiram Eldar, Jan 06 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | 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 2 17:05 EDT 2024. Contains 375614 sequences. (Running on oeis4.)