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!)
A276520 a(n) is the number of decompositions of n into unordered form p + c*q, where p, q are terms of A274987, c=1 for even n-s and c=2 for odd n-s. 3

%I #18 Nov 20 2018 08:05:19

%S 0,0,0,0,0,1,0,1,1,2,1,1,2,2,1,2,3,2,2,2,2,2,2,2,2,2,3,2,3,2,2,0,3,3,

%T 1,2,4,1,3,2,2,2,2,2,3,1,2,2,2,1,3,0,2,2,0,1,3,1,3,2,0,2,3,3,3,3,3,2,

%U 3,2,2,2,2,2,3,3,2,2,4,1,2,2,3,4,4,3,4

%N a(n) is the number of decompositions of n into unordered form p + c*q, where p, q are terms of A274987, c=1 for even n-s and c=2 for odd n-s.

%C p=q is allowed.

%C It is conjectured that the primes p, q in A274987 (a subset of all primes) are sufficient to decomposite all numbers into p and c*q (c=1 when n is even, 2 when c is odd) when n > 2551.

%C This sequence provides a very tight alternative of the Goldbach conjecture for all positive integers, in which indices of zero terms form a complete sequence {1, 2, 3, 4, 5, 7, 32, 52, 55, 61, 128, 194, 214, 244, 292, 334, 388, 782, 902, 992, 1414, 1571, 1712, 1916, 2551}.

%C There are no more zero terms of a(n) up to n = 100000.

%H Lei Zhou, <a href="/A276520/b276520.txt">Table of n, a(n) for n = 1..10000</a>

%H Lei Zhou, <a href="/A276520/a276520.png">List plot of the first 10000 terms of a(n)</a>.

%e A274987 = {3, 5, 7, 11, 13, 17, 23, 31, 37, 53, 59, 61, 73, 79, 83, 89, 101, 103, 109, ...}

%e For n=6, 6 = 3+3, one case of decomposition, so a(6)=1;

%e For n=7, 7 < 3+2*3=9, no eligible case could be found, so a(7)=0;

%e ...

%e For n=17, 17 = 3+2*7 = 7+2*5 = 11+2*3, three cases of decompositions, so a(17)=3.

%t p = 3; sp = {p}; Table[l = Length[sp]; While[sp[[l]] < n, While[p = NextPrime[p]; cp = 2*3^(Floor[Log[3, 2*p - 1]]) - p; ! PrimeQ[cp]]; AppendTo[sp, p]; l++]; c = 2 - Mod[n + 1, 2]; ct = 0; Do[If[MemberQ[sp, n - c*sp[[i]]], If[c == 1, If[(2*sp[[i]]) <= n, ct++], ct++]], {i, 1, l}]; ct, {n, 1, 87}]

%Y Cf. A002375, A045917, A001031, A274987, A171611, A240708, A240712, A230443, A276034, A103151, A001031.

%K nonn,base,look

%O 1,10

%A _Lei Zhou_, Nov 11 2016

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 August 17 19:53 EDT 2024. Contains 375227 sequences. (Running on oeis4.)