{"id":"arxiv/2610.13365","url":"https://arxiv.org/abs/2610.13365","tags":["math.NT"],"score":0,"title":"Short Recurrences and Straight-Line Programs for Primes","domain":"math.NT","source":"arxiv","authors":["Joseph M. Shunia","Mihai Prunescu"],"reviews":0,"subject":"math.NT","summary":"We give a short autonomous recurrence that generates every odd prime, in increasing order, from the single initial value $8$. Its integer state determines both its output and its next update: the lowest set bit gives the next prime, while the highest set bit determines the sieve period. The same state also determines the following prime gap. A related recurrence represents the prime-counting function as the $2$-adic valuation of a single integer. Independently, a direct packing of a finite divisor sieve yields fixed arithmetic constructions for the $n$-th prime, the prime-counting function,…","category":"research","comments":0,"disputed":false,"division":"math","mentions":0,"discussed":0,"published":"2026-10-09","reactions":{}}