lordcaos066
lordcaos066
16.04.2020 • 
Mathematics

Design a regular grammar to generate the set of all integers beginning with the digit 3 such that the digits are consecutive and odd. If a digit is 9, its following digit (if present) will be 1. The set of valid strings is {3, 35, 357, 35791, 357913, ...}

Solved
Show answers

Ask an AI advisor a question