Current settings:

Operations allowed: ×

First Integer Values:   1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12

Second Integer Values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12



Use the below form to change the above settings. Remember to click the button at the end to send the settings above: The above will report back how it was interpreted. Then click the generate button after to actually get the pdf.

Form for submitting new settings:












Explanation

This is a first draft. To use this, one should first enter the settings they want and press 'Submit settings.' This should update the 'Current settings'. If this agrees with what you want, then press 'Generate pdf with above settings.' After waiting 5-10 seconds, a pdf should then be linked to at the top of the screen. Note that only a single pdf may be generated per user. If you want to generate multiple pdfs, then save the previous one to your device and generate another.

Entering Integer Values

First note that the input for 'First Integer Values' and 'Second Integer Values' is what one may guess for addition and multiplication: You are specifying the first and second addend/multiplicand. In the case of subtraction (and division), you are instead specifying this like (sum) − (first) = (second). In other words, the first integer correponds to the subtrahend (or divisor) and the second to the difference (or quotient).

To enter integer values, one should only use digits, commas, and hyphens. Commas separate numbers or ranges. Hyphens represent either a negative sign or a range. All other characters should be ignored. Some examples: If an input is interpreted as invalid for the first integer, then 1-12 is chosen. If an input is interpreted as invalid for the second integer, then it takes the same value as the first integer.

As an advanced usage note, you can specify the same integer multiple times. This will increase the likelihood of it being selected.

If one specifies 0 in the 'First Integer Values' and division is selected, then 0 is removed for division problems. Note that weighting for problems is first done by operation, so this does increase the weight for other division problems. This is minor, unless you are doing something silly.

Current Limitations

The first written integer is restricted to 5 digits (including negative sign). Thus, the maximum valid range is -9999 to 99999. The answer in the answer document has the same limitation.

The second written integer is restricted to 3 digits (including negative sign). Thus, the maximum valid range is -99 to 999.

Note this is the written integer, not what is specified above. This matches for addition and multiplication, but as described above for subtraction and division the first written integer is actually the difference or quotient of the two numbers.

There is limited validation checking. It does not confirm that the computed answer lies in the valid range. Thus it is still possible to generate invalid documents. The easiest way to see how this look is to select subtraction, set the first integer 999, and set the second integer to 99999. At least for addition and multiplication, the generated problem document always looks correct: The answer document may be messed up.

Planned Future Improvements

There are only two planned future improvements. The first is to improve generation of the document; if it cannot be made fast enough, then a generation page will be added to avoid users from clicking on the link to the old pdf document.

The second is improved validation checking, to disallow bad documents from generating. I am undecided about how I want to handle this. The 'best' way to handle it seems like it would eat up a lot of memory, so I would need to do some benchmarking.


Version History

Math Facts Sheet Generator