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.

A132929 Averages of twin primes such that the sum of the lower, average and upper parts of the twin primes are averages of other twin primes.

Original entry on oeis.org

4, 6, 60, 270, 1950, 3000, 6360, 11490, 11550, 14550, 18540, 19890, 21840, 31080, 32910, 32970, 33330, 33600, 42570, 42840, 50460, 53550, 58110, 68880, 70200, 74610, 79230, 80910, 93810, 96330, 98910, 104310, 109140, 114600, 121020, 125790
Offset: 1

Views

Author

Keywords

Examples

			4 is a term since (3, 5) are twin primes, 3 + 4 + 5 = 12 and (11, 13) are also twin primes.
6 is a term since (5, 7) are twin primes, 5 + 6 + 7 = 18 and (17, 19) are also twin primes.
		

Crossrefs

Programs

  • Mathematica
    TwinPrimeAverageQ[n_]:=If[PrimeQ[n-1]&&PrimeQ[n+1],True,False](*TwinPrimeAverageQ*) lst={};Do[If[TwinPrimeAverageQ[n],If[TwinPrimeAverageQ[3*n],(*Print[n];*)AppendTo[lst,n]]],{n,9!}];lst

Formula

From Wesley Ivan Hurt, May 03 2022: (Start)
a(n) = A174920(n) + 1.
a(n) = A177336(n) - 1. (End)