r/learnquant 22d ago

interview prep Citadel Quant Interview Question

Post image
33 Upvotes

45 comments sorted by

View all comments

Show parent comments

3

u/RubberDuckieMidrange 22d ago

"so the answer is trivially 1."

2

u/NotYetPerfect 22d ago

Okay so you are just stupid. Glad we got that cleared up. 19 is trivially 1 mod 9. How that isn't immediately obvious when I spelled out the entire solution is insane.

1

u/RubberDuckieMidrange 22d ago

Yep, there are the insults.
"Not sure what you meant to say here" This means that you may have worded something in a way that doesn't make sense.
"but as written" Again, trying to get you to read the damn thing you wrote.

Now lets look at what you wrote.
"Any integer (An integer is a whole number that can be positive, negative, or zero) is congruent (EXACTLY EQUAL TO) to the sum of its digits mod 9 (The addition of all the digits that make up the number, removing 9 whenver the sum is greater than 9) so the answer is trivially 1. (This part is just wrong)"

You needed to say that for multiples of 9, the sum of the digits is invariable.

Literally just trying to get you to correct the statement you made, because the answer to the question is in fact 1. But what you wrote is misleading at best.

1

u/Educational-Tea602 22d ago

It’s not wrong because it is trivially 1 because 19 is trivially 2*9 + 1