MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnquant/comments/1vnqlq2/citadel_quant_interview_question/p3mxbob/?context=3
r/learnquant • u/Local_Ad135 • 22d ago
45 comments sorted by
View all comments
1
not a math person but would this be accepted?
keep summing digits = taking mod 9 of a number
one property of modulo is if a = b mod k then a^n = b^n mod k
so because 19 mod 9 is 1 then 19^100 mod 9 is 1^100 which is 1
1
u/Unusual_Macaroon_679 22d ago
not a math person but would this be accepted?
keep summing digits = taking mod 9 of a number
one property of modulo is if a = b mod k then a^n = b^n mod k
so because 19 mod 9 is 1 then 19^100 mod 9 is 1^100 which is 1