Could anyone please assist me. I have been trying to figure out what this pattern in called. Or if anyone knows any info on it I would appreciate the help. It can start with any number (or so I think). We will start with 1.

The pattern is add 7 but if the last number is 2, 1 or 0 add 17.

1, 18, 25, 32, 49, 56, 63, 70, 87, 94

or

2, 19, 26, 33, 40, 57, 64, 71, 88, 95

What I see is the last digit of each number is only used 1 time as the last digit. As well as the first digit. None repeat them selves.

Would they repeat after 1000 cycles.

And help is appreciated

Anna