| Author |
Comment/Response |
Simon
|
07/26/11 5:03pm
This works fine:
f[n_?EvenQ] := n/2
f[n_?OddQ] := 3 n + 1
ListPlot[Table[Length[NestWhileList[f, init, # > 1 &]], {init,10000}]]
however, when I replace Table by ParallelTable, I obtain
{1,2,2,2,2,2…}
I just wonder why?
URL: , |
|