Message Boards Message Boards

0
|
4493 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Memory related problem, using ParallelTable[]

Posted 3 years ago

I have the following code:

\[Alpha] = 10^6;
L = Total@*Map[Length];
\[DoubleStruckCapitalT][i_, j_] := Binomial[i, j - 1];
L[ParallelTable[
   If[TrueQ[
     EvenQ[\[DoubleStruckCapitalT][n, k]] && \[DoubleStruckCapitalT][
        n, k] != 0], {n, k}, Nothing], {n, 0, \[Alpha] - 1}, {k, 
    1, \[Alpha]}] //. {} -> Nothing]

But this code gives an error memory message, how can I edit my code such that I want to compute this code for large values of \[Alpha]?

POSTED BY: Jan Eerland

Welcome to Wolfram Community!
Please make sure you know the rules: https://wolfr.am/READ-1ST
Please next time link your post to the duplicated one from MSE site.
This post is cross-posted here.

POSTED BY: Moderation Team
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract