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.

A243530 Prime numbers containing the string 14.

This page as a plain text file.
%I A243530 #12 Aug 19 2025 13:03:39
%S A243530 149,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,
%T A243530 1487,1489,1493,1499,2141,2143,5147,6143,8147,10141,11149,11411,11423,
%U A243530 11437,11443,11447,11467,11471,11483,11489,11491,11497,12143,12149,13147,14009,14011,14029
%N A243530 Prime numbers containing the string 14.
%H A243530 Vincenzo Librandi, <a href="/A243530/b243530.txt">Table of n, a(n) for n = 1..1000</a>
%F A243530 a(n) ~ n log n. - _Charles R Greathouse IV_, Jun 20 2014
%t A243530 Select[Prime[Range[2000]], !StringFreeQ[ToString[#], "14" ] &]
%t A243530 Select[Prime[Range[2000]],SequenceCount[IntegerDigits[#],{1,4}]>0&] (* _Harvey P. Dale_, Aug 19 2025 *)
%o A243530 (PARI) contains(n,k)=my(N=digits(n),K=digits(k)); for(i=0,#N-#K, for(j=1,#K,if(N[i+j]!=K[j],next(2))); return(1)); 0
%o A243530 is(n)=isprime(n) && contains(n,14) \\ _Charles R Greathouse IV_, Jun 20 2014
%Y A243530 Cf. similar sequences listed in A243529.
%K A243530 nonn,base
%O A243530 1,1
%A A243530 _Vincenzo Librandi_, Jun 06 2014