pattern of numbers calculator connecting numbers and patterns