Tanya forms her sequence by starting with the number 2 and adding 3
continuously. She gets the following: 2, 5, 8, 11, 14, and so on. Joe forns
his scquence by starting with the number N (not 2) and adding the number
D (not 3) continuously. His second number is 9 and his fifth number is
21. What is his 1000 number?