Posted by anonymus on Wednesday, March 2, 2011 at 4:53pm.
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!
Related Questions
8th grade math - The following pattern continues indefinitely. ...
math - The following pattern continues indefinitely: REPEATREPEATREPEAT 1) What ...
Math help please - Thank you for the answer K Can you please explain? Observe ...
Math - Please help me. Is there a short cut way to arrive at this answer? ...
Math - If the pattern of the first letters of MATHMATHMATH
continues ...
Math - Help, I can't find the pattern rule for this sequence(eg. -6,-3,2,9,...
computer science - Hi I have 3 output problems that I need assistance, thank you...
Computer Science - Hi can you guys help me with these output code, I think you ...
english - Which pattern is most effective to deliver a persuasive message when ...
math - What is the 144th letter in this pattern? A B B C C C D D D D E E E E E...
For Further Reading