Opened 14 years ago

Closed 14 years ago

#166 closed bug (fixed)

proc prime returns a non-prime

Reported by: steidel Owned by: somebody
Priority: minor Milestone: 3-1-1
Component: singular-kernel Version: 3-1-0
Keywords: prime Cc:

Description

reported by Stefan Steidel

prime(2147483382);

2147483381

PollardRho?(2147483381,10,1);

[1]:

46411

[2]:

46271

46411*46271;

2147483381

Change History (1)

comment:1 Changed 14 years ago by hannes

Resolution: fixed
Status: newclosed

IsPrime? tests divisibility by primes from factory: smallprimes (<=32749) If candidate is larger than 327492, we test now by all uneven numbers in 32749..sqrt(cand)

Note: See TracTickets for help on using tickets.