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.

Showing 1-1 of 1 results.

A335304 Primes k such that k divides sum of k-th twin prime pair.

Original entry on oeis.org

2, 3, 5, 34543
Offset: 1

Views

Author

Metin Sariyar, May 31 2020

Keywords

Comments

Primes in A335303.
a(5) > 2*10^11, if it exists. - Giovanni Resta, Jun 01 2020

Examples

			34543 is a term because sum of 34543th twin prime pair is 5388707 + 5388709 = 8*3*13*34543.
		

Crossrefs

Programs

  • Mathematica
    l={};c=0;Do[If[PrimeQ[Prime[n]+2],c=c+1;If[IntegerQ[(2*Prime[n]+2)/c]&&PrimeQ[c], AppendTo[l,c]]],{n,2,10^6}];l
  • PARI
    is(n) = {!bittest(n, 0)&&isprime(n\2-1)&&isprime(n\2+1)}; \\ A054735
    lista(nn) = {my(nb=0); for (n=1, nn, if (is(n), nb++; if (isprime(nb) && ((n % nb) == 0), print1(nb, ", "));););} \\ Michel Marcus, Jun 01 2020
Showing 1-1 of 1 results.