If you look into the "systems" section here in forums you might find some. Unfortunately if you want to test your own "what-ifs" you will have to be able to program.
Excel is very popular here, it can sort and have built in functions. To do more advanced stuff, will probably require programming. Last night Butch was just showing one small quick capability of Excel, and I apologize if I sounded too critical of it.
I use foxpro, with all custom programming. I am also using Power-BI a free Business Intelligence program from Microsoft, all custom queries.
"R" is an excellent statistical programming language, not sure if anybody here uses it.
Google "Gigaloterias", it has a couple different analysis tools built in but it is in Portuguese. It takes different games, finds consecutive numbers, repeated numbers, prime numbers, and gives you predicted numbers based of a couple different methods. Not sure if it does back testing. There is a free version and since I don't understand Portuguese, I don't know how limited it is if any.
As I stated earlier, backtesting is important so it would be nice if the software choice provides it.
Just start in the "systems" folders, if you go into programming you can also check out the mathematics section.
And good luck.