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!)
A289827 a(n) = largest m <= n such that pi(m + n) = pi(m) + pi(n), where pi function is A000720 (with pi(0) = 0). 1

%I #73 Oct 05 2017 15:55:57

%S 0,2,2,4,2,2,1,1,4,10,2,2,1,1,4,4,2,2,1,1,2,2,1,1,1,1,4,4,2,2,1,1,1,1,

%T 2,2,1,1,4,4,2,2,1,1,2,2,1,1,1,1,2,2,1,1,1,1,4,4,2,2,1,1,1,1,2,2,1,1,

%U 4,4,2,2,1,1,1,1,2,2,1,1,2,2,1,1,1,1,2,2,1,1,1,1,1,1,2,2,1,1,10,10

%N a(n) = largest m <= n such that pi(m + n) = pi(m) + pi(n), where pi function is A000720 (with pi(0) = 0).

%C It seems that the sequence is bounded, namely a(n) <= 10.

%C We have a(n) = 10 for n = 10, 99, 100, 189, 190, 819, 820, ...

%C For n > 9; a(n) = a(n+1) = 10 if and only if n+2 is in A007530.

%C First conjecture: for n > 1, all a(n) belong to the set {1, 2, 4, 10}.

%C Second Hardy-Littlewood conjecture: pi(x+y) <= pi(x) + pi(y) for x,y >= 2.

%C Third conjecture (T. Ordowski): pi(x+y) < pi(x) + pi(y) for x,y >= 11.

%C Carl Pomerance (in a letter to the author) wrote: I believe if correct, your conjecture would disprove the Hardy-Littlewood prime k-tuples conjecture, as shown by Hensley and Richards over 30 years ago. They showed that prime k-tuples implies that there are pairs y < x with pi(x+y) >= pi(x) + pi(y) and pi(y) arbitrarily large. Since pi(2x) < 2*pi(x), by increasing y in a y,x example, one would come on a new pair y' < x with pi(x+y') = pi(x) + pi(y'). - _Thomas Ordowski_, Aug 14 2017

%C By the k-tuple conjecture, the smallest a(n) > 10 is 1418 for some n > 10^100. - _Nathan McNew_, Aug 17 2017

%C a(n) > 0 for n > 1.

%H Robert Israel, <a href="/A289827/b289827.txt">Table of n, a(n) for n = 1..10000</a>

%H Douglas Hensley and Ian Richards, <a href="http://pldml.icm.edu.pl/pldml/element/bwmeta1.element.bwnjournal-article-aav25i4p375bwm?q=bwmeta1.element.bwnjournal-number-aa-1973-1974-25-4;7&amp;qt=CHILDREN-STATELESS">Primes in Intervals</a>. Acta Mathematica 25,4 (1973/1974) 375-391.

%H Ian Richards, <a href="http://www.ams.org/journals/bull/1974-80-03/home.html"> On the Incompatibility of Two Conjectures Concerning Primes;...</a>, Bull. Amer. Math. Soc. 80,3 (1974) 419-438.

%H Eric Weisstein's MathWorld, <a href="http://mathworld.wolfram.com/Hardy-LittlewoodConjectures.html">Hardy-Littlewood conjectures</a>

%H Wikipedia, <a href="https://en.wikipedia.org/wiki/Second_Hardy%E2%80%93Littlewood_conjecture">Second Hardy-Littlewood conjecture</a>

%p f:= proc(n) local m;

%p for m from n by -1 do

%p if numtheory:-pi(m+n)=numtheory:-pi(m)+numtheory:-pi(n)

%p then return m

%p fi

%p od

%p end proc:

%p map(f, [$1..100]); # _Robert Israel_, Aug 14 2017

%t Table[SelectFirst[Range[n, 0, -1], PrimePi[# + n] == PrimePi[#] + PrimePi[n] &], {n, 100}] (* _Michael De Vlieger_, Aug 15 2017 *)

%t f[n_] := Block[{m = n, p = PrimePi@ n}, While[ PrimePi[m + n] != PrimePi[m] + p, m--]; m]; Array[f, 103] (* _Robert G. Wilson v_, Aug 30 2017 *)

%o (PARI) a(n) = my(m=n); while(1, if(primepi(m+n)==primepi(m)+primepi(n), return(m)); m--) \\ _Felix Fröhlich_, Aug 13 2017

%Y Cf. A000720, A007530.

%K nonn

%O 1,2

%A _Thomas Ordowski_, Aug 13 2017

%E More terms from _Altug Alkan_ and _Robert Israel_, Aug 13 2017

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 23 08:33 EDT 2024. Contains 371905 sequences. (Running on oeis4.)