Need help with a finite sequence

36 views
Skip to first unread message

Aitzaz Imtiaz

unread,
Mar 19, 2026, 1:11:55 PM (13 days ago) Mar 19
to SeqFan
Greetings,

I usually work upon trying to discover infinite sequences (having a bias for finite sequences). I worked upon Chebyshev distances on an Ulam Spiral before:


I am highly judgemental about Euclidean distances yet, but I decided to give a try to making such a batch for Manhattan distances.

matplot.png
From basic common observation, every even n has odd d, every odd n has even d. So: primes are all odd except 2, the only valid combination of p -> p here is odd p_n such that even p_d. This yields a finite sequence:

3, 5, 7, 11, 19, 23.

It is sufficient to realize this a finite sequence with no further terms. With this much presented information, I need help with knowing if this is suitable for the OEIS. Other than suitability, are there some interesting properties here?

If I attempt to publish this, as with Chebyshev distances before, I will be constructing a batch of truth table sequences for this batch too.

Regards,
Aitzaz.

Sean A. Irvine

unread,
Mar 19, 2026, 3:16:32 PM (12 days ago) Mar 19
to seq...@googlegroups.com
Hi Aitzaz,

While the OEIS certainly contains some short finite sequences, I don't think this one would be of sufficient general interest to justify a sequence.

Rather than choosing a specific distance, why not a sequence that reports the distance for each prime? (Perhaps already exists, I did not check)

Sean.


--
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/213d9903-36e0-41de-810f-9b8a8d67bde2n%40googlegroups.com.

Jason Bard

unread,
Mar 25, 2026, 3:11:32 PM (6 days ago) Mar 25
to SeqFan
Hi Aitzaz,

This sequence appears to be essentially the same as A078139 (except that it includes the leading 2). Maybe a comment there might do?

Thanks,
Jason
Reply all
Reply to author
Forward
0 new messages