Pell numbers: Difference between revisions

m
change initialization
m (change initialization)
Line 180:
 
function pellprimes(wanted)
i, lastpell, lastlastpell, primeindices, pellprimes = 01, big"01", big"10", Int[], BigInt[]
while length(primeindices) < wanted
pell = 2 * lastpell + lastlastpell
4,107

edits