cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A377185 Average of twin prime pairs A014574 such that the largest odd divisor of the average is the midpoint of the cousin prime pairs A087679.

This page as a plain text file.
%I A377185 #22 Nov 18 2024 17:14:24
%S A377185 18,30,42,60,72,138,180,198,240,312,420,462,618,660,882,1032,1152,
%T A377185 1230,1290,1320,1482,1722,1878,2592,2688,2970,3120,3168,3300,3330,
%U A377185 3360,3390,3528,3540,3672,4002,4128,4482,5280,5418,5502,6660,6690,6780,7350,7590,7758,8010,8088,8820,9042
%N A377185 Average of twin prime pairs A014574 such that the largest odd divisor of the average is the midpoint of the cousin prime pairs A087679.
%H A377185 James C. McMahon, <a href="/A377185/b377185.txt">Table of n, a(n) for n = 1..10000</a>
%e A377185 18 is in this sequence because:
%e A377185 (a) 18 is average of twin prime pair {17, 19};
%e A377185 (b) the largest odd divisor of 18 is 9;
%e A377185 (c) 9 is the midpoint of the cousin prime pair {7, 11}.
%t A377185 lod[m_]:=Select[Divisors[m+1],OddQ][[-1]];Select[Prime[Range[1130]],PrimeQ[#+2]&&PrimeQ[lod[#]-2]&&PrimeQ[lod[#]+2]&]+1 (* _James C. McMahon_, Nov 17 2024 *)
%o A377185 (Magma) [n: n in [4..10^4] | IsPrime(n-1) and IsPrime(n+1) and IsPrime((n div 2^Valuation(n, 2))-2) and IsPrime((n div 2^Valuation(n, 2))+2)];
%Y A377185 Cf. A000265, A014574, A087679.
%K A377185 nonn
%O A377185 1,1
%A A377185 _Juri-Stepan Gerasimov_, Oct 19 2024