Hello,

I have to store 12000 numbers generated using the equation y = 1 - (2/(4*x+1)) where y is the resulting value and x is the index 0 - 11999, the result are used to increase or decrease another number which is irrelevant, instead of evaluating the equation I have decided to loop through all 12k possible values and keep them in an array and reuse the result.

so what've done is this:

```
#define nMax 12000
#define calcNFactor(n) (1 - (2.0f / ((4 * n) + 1)))
float nValues[nMax ]{};
void setup() {
for (int n = 0; n < nMax ; n++)
{
nValues[n] = calcNFactor(n);
}
}
```

Then pass a pointer to the array to multiple classes so it uses the same array. Can this be done any better? Would it be faster if I used flash memory?

Thanks.