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.

A169605 Numbers x of the form x = 2*y - 3 = 3*z - 2 where y and z are primes.

This page as a plain text file.
%I A169605 #16 Feb 03 2018 09:53:52
%S A169605 7,19,31,55,91,139,175,199,211,379,391,451,499,535,631,715,919,931,
%T A169605 1039,1135,1291,1315,1399,1435,1639,1711,1759,1819,1855,1891,1939,
%U A169605 2179,2215,2359,2431,2515,2575,2719,2731,2899,2971,3115,3271,3691,3775,3955,4195
%N A169605 Numbers x of the form x = 2*y - 3 = 3*z - 2 where y and z are primes.
%e A169605 a(1)=7 because 5*2 - 3 = 3*3 - 2;
%e A169605 a(2)=19 because 11*2 - 3 = 7*3 - 2.
%p A169605 isA169605 := proc(x) if type(x+3,'even') then if (x+2) mod 3 = 0 then isprime( (x+3)/2) and isprime((x+2)/3) ; else false ; end if else false; end if; end proc: for x from 1 to 10000 do if isA169605(x) then printf("%d,",x) ; end if; end do: # _R. J. Mathar_, Jan 27 2010
%t A169605 Select[3Prime[Range[250]]-2,PrimeQ[(3+#)/2]&] (* _Harvey P. Dale_, May 11 2011 *)
%o A169605 (Sage)
%o A169605 is_prime_Q = lambda x: x.is_integral() and Integer(x).is_prime()
%o A169605 A169605 = list(x for x in range(1, 10**4) if is_prime_Q((x+3)/2) and
%o A169605 is_prime_Q((x+2)/3))
%o A169605 A169605[:36]
%o A169605 # _D. S. McNeil_, Dec 21 2009
%Y A169605 Cf. A000040, A131426.
%K A169605 nonn
%O A169605 1,1
%A A169605 _Juri-Stepan Gerasimov_, Dec 03 2009
%E A169605 Corrected and extended by _Jim Nastos_ and _D. S. McNeil_, Dec 21 2009
%E A169605 A few more terms from _R. J. Mathar_, Jan 27 2010