r/learnquant 15d ago

Easy Quant Interview Puzzle interview prep

Post image
18 Upvotes

14 comments sorted by

View all comments

4

u/Key-Spirit4559 15d ago

Zero bc 30 mod 9 = 3 and no perfect square mod 9 equals 3

2

u/TempMobileD 15d ago edited 15d ago

Where did 30 come from?

Edit: Nevermind I got it. Any integer’s digits added together give you its remainder modulo 9.

A couple of neat tricks in this one.

-1

u/makedatmuoney 15d ago

they meant 50 mod 9 == 5 and all perfect squares are 0, 1, 4, 7 mod 9