OFFSET
1,1
FORMULA
Run separate counts of odd composites 1 mod 4 and 3 mod 4. When the count is equal, record the count.
EXAMPLE
At 26829 1 mod 4 and 26835 3 mod 4, the count of odd composites is equal for each run at 5238; so a(1)=5238. [Compare to the prime 26833 1 mod 4 where equality occurs at count 1471 and the first reversal in the race occurs at 26861.]
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Enoch Haga, Mar 27 2004
STATUS
approved