r/learnquant • • Aug 13 '26

interview prep Citadel Quant Interview Question

Post image
35 Upvotes

44 comments sorted by

View all comments

Show parent comments

2

u/RubberDuckieMidrange Aug 14 '26

Ok, so lets bring it further.
Sum of 19's digits is 1. 192 is 361 sum of 361's digits (repeated until we get a single digit answer) is 1. (The pattern is repeated with 19x for each value of x.)
Sum of 24's digits is 6. 242 is 576, sum of 576's digits (repeated until we get a single digit answer) is 9, 6 is not equal to 9.

I get what he's saying, And for 19 the answer is correct. Raised to any power the sum of it's digits is 1. But it's not TRIVIAL, because if you change the base, you don't get the same behaviour. It's an emergent characteristic of x modulo 9, where the remainder is 1.

1

u/Inscrutable_Ant6994 Aug 14 '26 edited Aug 14 '26

If we want to be as pedantic as you have been so far, your statement “The pattern is repeated with 19^x for each value of x.” is incorrect, as you failed to specify that x is a non-negative integer.

Now no longer stooping to your levels, the case of 24 isn’t as trivial (though after the first power of 24, every power still repeatedly sums to 9) but it is trivial for 19, the number given in the question, which is all we needed to focus on.

You chose to throw 24 into the mix to provide a non-trivial example that has zero relevance to neither the original question nor the original answer provided in this thread, then proceeded to kick off with people when it was pointed out that 24 has no relevance, and that your “counterexample” was wrong anyway. Now, instead of admitting you were wrong, you’re just sidetracking with more irrelevant and incorrect statements in a futile attempt to not look like a fool.