Pell numbers: Difference between revisions
m
change initialization
m (change initialization) |
|||
Line 180:
function pellprimes(wanted)
i, lastpell, lastlastpell, primeindices, pellprimes =
while length(primeindices) < wanted
pell = 2 * lastpell + lastlastpell
|