Smallest n With 2n+1 And 3n+1 Both Perfect Squares

Company: MediaTek_4oct

Difficulty: medium