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.

A254462 Primes prime(n) such that prime(n) + 5*n is also prime.

This page as a plain text file.
%I A254462 #24 Aug 17 2024 16:07:08
%S A254462 2,3,13,19,29,37,43,61,113,151,163,173,223,229,239,251,311,317,337,
%T A254462 359,373,397,409,433,503,601,647,659,673,683,757,821,857,863,887,941,
%U A254462 1061,1097,1109,1123,1213,1249,1291,1307,1373,1423,1439,1493,1511,1531,1559
%N A254462 Primes prime(n) such that prime(n) + 5*n is also prime.
%H A254462 Robert Israel, <a href="/A254462/b254462.txt">Table of n, a(n) for n = 1..10000</a>
%e A254462 prime(2)=3 is in the sequence because 3+5*2 = 13 is prime.
%e A254462 prime(6)=13 is in the sequence because 13+5*6 = 43 is prime.
%p A254462 P:= select(isprime, [2,seq(i,i=3..10000,2)]):
%p A254462 P[select(i -> isprime(P[i]+5*i),[$1..nops(P)])]; # _Robert Israel_, Aug 01 2024
%t A254462 Prime[Select[Range[300], PrimeQ[Prime[#] + 5 #] &]]
%o A254462 (Magma) [NthPrime(n): n in [1..300] | IsPrime(NthPrime(n)+5*n)];
%Y A254462 Cf. A061067, A076300, A231232, A231383.
%K A254462 nonn
%O A254462 1,1
%A A254462 _Vincenzo Librandi_, Feb 04 2015