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!)
A027569 Initial members of prime decaplets (p, p+2, p+6, p+8, p+12, p+18, p+20, p+26, p+30, p+32). 35

%I #36 Nov 04 2021 13:06:37

%S 11,33081664151,83122625471,294920291201,573459229151,663903555851,

%T 688697679401,730121110331,1044815397161,1089869189021,1108671297731,

%U 1235039237891,1291458592421,1738278660731

%N Initial members of prime decaplets (p, p+2, p+6, p+8, p+12, p+18, p+20, p+26, p+30, p+32).

%C All terms are congruent to 11 (modulo 210). - _Matt C. Anderson_, May 28 2015

%H Matt C. Anderson and Dana Jacobsen, <a href="/A027569/b027569.txt">Table of n, a(n) for n = 1..10000</a> [first 100 terms from Matt C. Anderson]

%H Tony Forbes and Norman Luhn, <a href="http://www.pzktupel.de/ktuplets.htm">Prime k-tuplets</a>

%H Norman Luhn, <a href="http://www.pzktupel.de/SMArchiv/10tup1.zip">1 million terms of A027569</a>, zip compressed (7.93 MB) (2021)

%p composite_small := proc (n::integer)

%p description "procedure to determine if n has a prime factor less than 100";

%p if igcd(2305567963945518424753102147331756070, n) = 1 then

%p return false else return true end if;

%p end proc;

%p # begin initialization section

%p p := [0, 2, 6, 8, 12, 18, 20, 26, 30, 32]; o := [1271, 1691]; m := 2310;

%p # end initialization section

%p with(ArrayTools); os := Size(o, 2); ps := Size(p, 2);

%p loopstop := 10^11; loopstart := 0;

%p print(11);

%p for n from loopstart to loopstop do

%p for a to os do

%p counter := 0; wc := 0; wd := 0;

%p while `and`(wd > -10, wd < ps) do

%p wd := wd+1;

%p if composite_small(m*n+o[a]+p[wd]) = false then wd := wd+1 else wd := -10 end if;

%p end do;

%p if wd >= 9 then while `and`(counter >= 0, wc < ps) do

%p wc := wc+1;

%p if isprime(m*n+o[a]+p[wc]) then counter := counter+1 else counter := -1 end if end do;

%p end if;

%p if counter = ps then print(m*n+o[a]); end if;

%p end do;

%p end do;

%p # _Matt C. Anderson_, Apr 30 2015

%o (PARI) is(n)=isprime(n) && isprime(n+2) && isprime(n+6) && isprime(n+8) && isprime(n+12) && isprime(n+18) && isprime(n+20) && isprime(n+26) && isprime(n+30) && isprime(n+32)

%o v=primes(10); t=1; forprime(p=31,1e11, v[t]=p; t=(t%10)+1; if(p-v[t]==32 && is(v[t]), print1(v[t]", "))) \\ _Charles R Greathouse IV_, May 20 2015

%o (Perl) use ntheory ":all"; say for sieve_prime_cluster(1,1e13, 2,6,8,12,18,20,26,30,32); # _Dana Jacobsen_, Sep 30 2015

%Y Cf. A027570, A202281, A202282.

%K nonn

%O 1,1

%A _Warut Roonguthai_

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 18 17:42 EDT 2024. Contains 371781 sequences. (Running on oeis4.)