I have a user input of 2 integers (m,n)(adsbygoogle = window.adsbygoogle || []).push({});

Then my system will generate 1 list of M (m,n < M) integers that start at m and end at M^{th}integer of value x_{M}. The formula to calculate x_{M}is followed by

[itex]x_0=m[/itex]

[itex]x_M=x_{M-1}+n[/itex]

After the list is generated I randomly delete N (N << M) rows from it and given that my system isn't allowed to remember (m,n), how can I find out what values (m,n) were ?

For example

(m,n)=(2,5)

M=5 => L={2,7,12,17,22}

deleting L_{2,4}yields L={2,12,22}

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Integer partitioning problem - for fun

Have something to add?

Draft saved
Draft deleted

Loading...

Similar Threads for Integer partitioning problem |
---|

Problem with the website on Chrome |

Finding Math Problems |

Feynman on Problem Solving |

**Physics Forums | Science Articles, Homework Help, Discussion**