SOLUTION: Pick as many numbers as you like from the first 1989 counting numbers (1, 2, 3, 1989), but don’t pick any more than once. If no two numbers can be exactly 4 apart and no two number

Algebra.Com
Question 923948: Pick as many numbers as you like from the first 1989 counting numbers (1, 2, 3, 1989), but don’t pick any more than once. If no two numbers can be exactly 4 apart and no two numbers can be exactly 7 apart, what is the maximum amount of numbers that you can have?
Answer by Edwin McCravy(20056)   (Show Source): You can put this solution on YOUR website!
1989 is a multiple of 3.  If you pick all the multiples of 3

3,6,9,12,...,1989 

any two of them are a multiple of 3 apart and if two integers are
a multiple of 3 apart, they can neither be 4 apart nor 7 apart. 

How many of them are there?

To find out, divide them all by 3 and you have the counting
numbers from 1 through 663

1,2,3,4,...,663

so there are 663 of them.

You can also choose

1,4,7,10,...,1987 or

2,5,8,11,...,1988

There are also 663 of each of them as well.

Answer: 663

Edwin


RELATED QUESTIONS

lotto super 7 allows you to pick 7 numbers from 1 to 47, you can only pick each number... (answered by Boreal)
The question is: The number of quadruplet births Q in the United States from 1989 to... (answered by stanbon,Edwin McCravy)
To win the lottery you ,must pick six numbers from 49 balls numbered 1-49. The order in... (answered by stanbon,Alan3354)
Powerball jackpot can be won by picking 5 numbers out of 59 numbers then also picking 1... (answered by solver91311)
Lotto Super 7 allows you to pick 7 numbers from 1 to 47. You can only pick each number... (answered by jorel1380)
If no digit appears more than once, how many 4-digit numbers can be formed from the... (answered by stanbon)
If no digit appears more than once, how many 5-digit numbers can be formed from the... (answered by jim_thompson5910)
In a lottery game, a machine has 48 balls marked with numbers from 1-48 and six of them... (answered by ikleyn)
Your worst enemy has a new game. He picks a secret polynomial p(x) with positive integer (answered by richard1234)