# math

posted by .

The following pattern continues indefinitely.

REPEATREPEATREPEATâ€¦

1) What is the 38th letter in the pattern? Explain your answer.

2) What is the 40th letter in the pattern? Explain your answer.

3) What is the 604th letter in the pattern? Explain your answer.

• math -

This is an excellent application of the modulo function: mod.
We define a mod b as the remainder when integers a is divided by b, as in:
17 mod 6 = 5
9 mod 4 = 1
etc.

From the given string of characters, we see that the repetition is every 6 characters. So really, it is the same character whether we add or subtract multiples of 6. For example,
the second character is E, but it is the same character as the 8th, the 14th, 20th, 26th, etc.
In fact, if we make use of the modulo function, we conclude that the 38th character is the same as the
(38 mod 6)th = 2nd character (= E)

So the 41th character is simply
(41 mod 6)=5th character (=A).

Proceed to find the 604th, 104820th, etc. character!

## Similar Questions

The following pattern continues indefinitely. REPEATREPEATREPEATâ€¦ 1) What is the 38th letter in the pattern?
2. ### english

Which pattern is most effective to deliver a persuasive message when the audience may resist doing as you ask and you expect emotion to be more important than logic in the decision?
3. ### Science-Bohr Model 2

is there a pattern betweent he # of electrons in the outers shell of an element and its position along the row in the Perioidic table. whats the pattern?
4. ### computer science

Hi I have 3 output problems that I need assistance, thank you! Produce Output For each problem, you are to produce the code, in JAva, to create the following output to the screen. 1. + +++0 ++++++00 ++++++++++000 ... (this pattern …
5. ### Computer Science

Hi can you guys help me with these output code, I think you need to include for loops, but I'm not sure how to use it. Example code would be helpful, thanks. Produce Output For each problem, you are to produce the code, in JAva, to …
6. ### math

The following pattern continues indefinitely: REPEATREPEATREPEAT 1) What is the 38th letter in the pattern?
7. ### Math

Help, I can't find the pattern rule for this sequence(eg. -6,-3,2,9,18 and the pattern rule is n squared-7) The pattern: 6,28,64,114,178. What's the pattern rule?