PasteRack.org
Paste # 84426
2017-02-24 14:02:37

Fork as a new paste.

Paste viewed 178 times.


Embed:

lolprimes

  1. #lang racket
  2.  
  3. (require math/number-theory)
  4.  
  5. ; print next 50 primes after this number
  6. (next-primes 2147000000 50)

=>

'(2147000041

  2147000081

  2147000111

  2147000117

  2147000173

  2147000189

  2147000243

  2147000281

  2147000293

  2147000333

  2147000357

  2147000371

  2147000381

  2147000407

  2147000417

  2147000419

  2147000423

  2147000447

  2147000477

  2147000483

  2147000491

  2147000507

  2147000519

  2147000521

  2147000539

  2147000593

  2147000599

  2147000633

  2147000657

  2147000663

  2147000677

  2147000693

  2147000719

  2147000747

  2147000753

  2147000767

  2147000783

  2147000831

  2147000837

  2147000857

  2147000897

  2147000939

  2147000971

  2147001041

  2147001049

  2147001119

  2147001127

  2147001133

  2147001139

  2147001169)