I had faulty memory chip in my head. I have rendered over 65000 tgas in AE and imported them to Premiere. Premiere can handle that.
I just tested with 40000 8 bit tgas and indeed last frame was 32766 as Tim said.
I also tested short tif sequence with one faulty frame in the middle of sequence, imported them to AE and Premiere,
both imported them without hiccup. When srubbing timeline AE gave error message: not a tiff file. In Premiere Pro when scrubbing timeline, it just duplicated previous frame. But when rendering it says export error.
In the past when I have had problems with image sequences it usually is one imcompleted frame from Maya or corrupted otherwise.
This time I was totally wrong, I apologize. Next time I write only after testing.