Chernick's Carmichael numbers: Difference between revisions

m
Line 895:
 
=== with cheat ===
{{trans|C}} with added cheat for the a(10) case - I found a nice big prime factor of k and added that on each iteration instead of 1.<br>
You could also use the sequence {1,1,1,1,19,19,4877,457,457,12564169}, if you know a way to build that, and then it wouldn't be cheating anymore...
<lang Phix>include mpfr.e
sequence ppp = {3,5,7,11,13,17,19,23}
7,805

edits