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!)
A078570 Number of distinct prime factors of the average of n-th twin prime pair. 6
1, 2, 2, 2, 3, 3, 3, 2, 3, 2, 3, 3, 3, 2, 3, 3, 3, 3, 3, 3, 3, 4, 2, 4, 3, 4, 3, 3, 3, 4, 3, 3, 3, 4, 3, 4, 3, 4, 3, 4, 2, 4, 3, 4, 4, 4, 4, 3, 4, 3, 3, 3, 3, 3, 4, 3, 3, 3, 4, 4, 3, 3, 3, 3, 3, 4, 4, 3, 3, 5, 4, 3, 4, 2, 3, 3, 3, 5, 4, 3, 4, 3, 4, 3, 3, 3, 4, 4, 4, 3, 4, 3, 3, 3, 4, 3, 3, 3, 3, 4, 3, 3, 4, 4, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = A001221(A014574(n)).
EXAMPLE
12th twin prime pair = (A001359(12), A006512(12)) = (149,151), hence A014574(12) = 150 = 2*3*5*5, therefore a(12) = 3.
MATHEMATICA
midQ[n_] := PrimeQ[n-1] && PrimeQ[n+1]; PrimeNu /@ Select[Range[5000], midQ] (* Amiram Eldar, Nov 03 2019 *)
PrimeNu[Mean[#]]&/@Select[Partition[Prime[Range[1000]], 2, 1], #[[2]]-#[[1]]==2&] (* Harvey P. Dale, Jul 31 2023 *)
CROSSREFS
Sequence in context: A181611 A064740 A080967 * A295284 A292995 A037179
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Nov 29 2002
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 May 7 09:38 EDT 2024. Contains 372302 sequences. (Running on oeis4.)