Dear seqfans, Plz help with the best (fastest) code in PARI/Mma for finding ppn next to given n (which itself is ppn). Interval between consecutive ppn's generally increases and checking each n+1, n+2,... is very slow (for large n's). Thx, Zak