asked 85.5k views
2 votes
Give a recursive definition for the set X of all natural numbers that are one or two more than a multiple of 10. In other words, give a recursive definition for the set {1, 2, 11, 12, 21, 22, 31, 32, ... }.

asked
User Esskar
by
7.2k points

1 Answer

1 vote
f(0)=1
f(1)=2
f(n)=f(n-2)+10

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.