The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A078573 Maximal exponent in prime factorization of the average of n-th twin prime pair. 2
2, 1, 2, 2, 1, 1, 2, 3, 1, 3, 1, 2, 2, 6, 2, 2, 4, 3, 1, 3, 2, 2, 4, 1, 2, 1, 3, 1, 1, 2, 4, 1, 2, 1, 2, 2, 3, 2, 2, 2, 7, 1, 2, 1, 1, 3, 2, 2, 1, 4, 3, 4, 2, 1, 1, 2, 4, 1, 2, 2, 3, 2, 1, 3, 6, 1, 2, 1, 4, 1, 2, 1, 2, 5, 1, 7, 3, 1, 2, 1, 3, 3, 4, 5, 2, 2, 2, 2, 5, 2, 1, 1, 2, 3, 2, 1, 2, 3, 3, 2, 2, 1, 1, 1, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A051903(A014574(n)).
EXAMPLE
10th twin prime pair = (A001359(10), A006512(10)) = (107,109), hence A014574(10) = 108 = 2^2 * 3^2, therefore a(10) = 3.
MATHEMATICA
midQ[n_] := PrimeQ[n-1] && PrimeQ[n+1]; f[n_] := Max @@ FactorInteger[n][[;; , 2]]; f /@ Select[Range[5000], midQ] (* Amiram Eldar, Nov 03 2019 *)
Max[FactorInteger[Mean[#]][[All, 2]]]&/@Select[Partition[Prime[Range[1000]], 2, 1], #[[2]] - #[[1]]==2&] (* Harvey P. Dale, Apr 21 2022 *)
CROSSREFS
Sequence in context: A095955 A272772 A293431 * A143786 A232353 A366987
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 29 07:06 EDT 2024. Contains 372926 sequences. (Running on oeis4.)