login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A166582 Primes containing the string 444. 13

%I #20 Nov 01 2022 15:25:02

%S 4441,4447,14447,14449,24443,44417,44449,44453,44483,44491,44497,

%T 54443,54449,74441,74449,84443,84449,94441,94447,124447,134443,144407,

%U 144409,144413,144427,144439,144451,144461,144479,144481,144497,164443,164447

%N Primes containing the string 444.

%H Vincenzo Librandi, <a href="/A166582/b166582.txt">Table of n, a(n) for n = 1..1000</a>

%F a(n) ~ n log n. - _Charles R Greathouse IV_, Nov 01 2022

%t p444Q[n_] := Module[{idn = IntegerDigits[n]}, MemberQ[Partition[idn, 3, 1], {4, 4, 4}]]; Select[Prime[Range[20000]], p444Q] (* _Vincenzo Librandi_ Sep 14 2012 *)

%t Select[Prime[Range[16000]],SequenceCount[IntegerDigits[#],{4,4,4}]>0&] (* Requires Mathematica version 10 or later *) (* _Harvey P. Dale_, Mar 15 2018 *)

%Y Cf. A166571-A166573, A166579-A166581.

%K nonn,base

%O 1,1

%A _Vincenzo Librandi_, Nov 01 2009

%E Corrected (144491 replaced by 144497) by _R. J. Mathar_, Nov 30 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 03:46 EDT 2024. Contains 371782 sequences. (Running on oeis4.)