aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 21866ec1759f5ffc422ca27f1ab156f7be242ba6 (plain)
1
2
3
4
5
6
7
8
# PatternToFormula
A simple Kotlin program to create formulas from a pattern (3 numbers after each other)

### Examples:

**Enter numbers:** 7, 19, 67<br />
**Formula:** 4^n+3<br />
**Pattern:** 7, 19, 67, 259, 1027, 4099, 16387, 65539, 262147, 1048579, 4194307, 16777219, 67108867, 268435459, 1073741827, 2147483647, 2147483647, 2147483647, 2147483647, 214748364```