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.

A180946 Primes p such that p(i)*p(i+1)+p(i+2)+p(i+3) is a prime.

This page as a plain text file.
%I A180946 #7 Nov 21 2013 12:50:06
%S A180946 5,7,11,13,29,31,37,61,67,73,89,97,103,107,139,157,167,179,181,193,
%T A180946 233,283,349,367,409,433,569,587,599,607,619,691,743,761,769,809,823,
%U A180946 1021,1039,1051,1151,1201,1291,1319,1361,1373,1399,1481,1483,1499,1549,1567
%N A180946 Primes p such that p(i)*p(i+1)+p(i+2)+p(i+3) is a prime.
%C A180946 There are twin primes in the sequence: e.g (29,31); (179,181); (1481,1483).
%C A180946 There are consecutive primes also: e.g. (29,31,37); (1663,1667); (1777,1783).
%H A180946 Harvey P. Dale, <a href="/A180946/b180946.txt">Table of n, a(n) for n = 1..1000</a>
%e A180946 a(5)=29 since 29*31+37+41=977 is a prime.
%t A180946 Transpose[Select[Partition[Prime[Range[260]],4,1],PrimeQ[#[[1]]#[[2]]+ #[[3]]+ #[[4]]]&]][[1]] (* _Harvey P. Dale_, Jan 01 2012 *)
%Y A180946 Cf. A000040, A180944
%K A180946 nonn
%O A180946 1,1
%A A180946 _Carmine Suriano_, Sep 27 2010
%E A180946 Inserted 1021 to 1201 - _R. J. Mathar_, Oct 23 2010