Zeros of a "bad sequence" with the pi function

36 views
Skip to first unread message

Tomasz Ordowski

unread,
Jun 2, 2026, 10:13:35 AMJun 2
to seq...@googlegroups.com
Hello Seq Fans!

Let a(n) be the largest 0 <= m < n such that 
2 pi(n) = pi(n-m) + pi(n+m).  Find the zeros. 
Conjecture: for n > 1, a(n) = 0 if and only if
n is a "good prime" of the type A127925.
These are "midpoint convex primes". 
Is this equivalence provable? 
Requires prior checking. 

Best, 
Tom Ordo 

Tomasz Ordowski

unread,
Jun 5, 2026, 8:57:39 AMJun 5
to seq...@googlegroups.com
PS. Numbers n such that
2 pi(n) > pi(n-m) + pi(n+m)
for all 0 < m < n.  Question:
Are there such composites? 

M F Hasler

unread,
Jun 5, 2026, 9:14:43 AMJun 5
to seq...@googlegroups.com
On Fri, Jun 5, 2026 at 8:57 AM Tomasz Ordowski <tomaszo...@gmail.com> wrote:
PS. Numbers n such that
2 pi(n) > pi(n-m) + pi(n+m)
for all 0 < m < n.  Question:
Are there such composites? 

obviously not -- not even for just m=1, since
2 pi(n) > pi(n-1) + pi(n+1)
<=> pi(n) - pi(n-1) > pi(n+1) - pi(n)
But the LHS > 0 means that n is a prime.
- M.


Tomasz Ordowski

unread,
Jun 5, 2026, 10:15:26 AMJun 5
to seq...@googlegroups.com
Thanks!

--
You received this message because you are subscribed to the Google Groups "SeqFan" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seqfan+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/seqfan/CAFqvfd8ecbjOoRtvg20akZ7MP9ZpPu8ZTEJFkuD_EbB5qiQgkQ%40mail.gmail.com.

Tomasz Ordowski

unread,
Jun 6, 2026, 5:47:14 AMJun 6
to seq...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages