The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A369251 Numbers that have at least one representation as a sum (p*q + p*r + q*r) with three odd primes p <= q <= r. 8

%I #13 Jan 25 2024 07:57:39

%S 27,39,51,55,71,75,87,91,95,103,111,119,123,131,135,147,151,155,167,

%T 183,187,191,195,199,203,211,215,231,239,247,251,255,263,267,271,275,

%U 287,291,299,311,315,327,331,335,343,351,355,359,363,371,375,383,391,395,407,411,419,423,431,435,439,447,451,455,459

%N Numbers that have at least one representation as a sum (p*q + p*r + q*r) with three odd primes p <= q <= r.

%C By necessity all terms are of the form 4m+3 (in A004767).

%H Antti Karttunen, <a href="/A369251/b369251.txt">Table of n, a(n) for n = 1..20000</a>

%F {k | A369054(k) > 0}.

%o (PARI) isA369251(n) = if(3!=(n%4),0, my(v = [3,3], ip = #v, r); while(1, r = (n-(v[1]*v[2])) / (v[1]+v[2]); if(r < v[2], ip--, ip = #v; if(1==denominator(r) && isprime(r), return(1))); if(!ip, return(0)); v[ip] = nextprime(1+v[ip]); for(i=1+ip,#v,v[i]=v[i-1])));

%Y Complement of A369464.

%Y Sequence A369252 sorted into ascending order, with duplicates removed.

%Y Setwise difference A004767 \ A369056.

%Y Subsequence of A239433.

%Y Cf. A369054, A369055.

%Y Cf. A369250 (primes in this sequence).

%K nonn

%O 1,1

%A _Antti Karttunen_, Jan 22 2024

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 May 20 17:58 EDT 2024. Contains 372720 sequences. (Running on oeis4.)