Book: Number Theory with Computer Applications

http://www.pearsonhighered.com/educator/product/Number-Theory-with-Computer-Applications/9780138018122.page