Abhishek Verma
intelocode.bsky.social
Abhishek Verma
@intelocode.bsky.social
Coding for 15+ years | IIT Kanpur alumnus | Competitive Programmer: 99.5+ percentile | Posts: Computer Science, Maths & Psychology | Expertise: Problem Solving
Here's an interesting way to check if the given alphabet is vowel using bit manipulation.

Have a look if you understand how it works !
January 5, 2025 at 1:31 PM
Also, I discovered a fascinating phenomenon for 2+ consecutive Harshad years, is extremely rare.

Note: Harshad number is a number divisible by sum of its digits.

Years 2022-2025 are Harshad years. It last happened 1000+ years back in 1014-1017.

And will next happen after 1000+ years in 3030-3033.
January 1, 2025 at 10:45 PM
Trigonometrically, tangent of 2025° is 1.
Obviously, happens 180 years apart.

And since, 2025 = 27² + 36²

Hence, 2025 can be represented as hypotenuse of a right triangle with integral sides.

Last such year was 1681 ( = 9² + 40²),
Next such year will be 2809 ( = 28² + 45²).
January 1, 2025 at 10:45 PM
2025 is a centered octagonal number.

Such numbers are represented by an octagon with a dot in the center with surrounding dots in successive octagonal layers.

Last such year was 1849,
Next such year will be 2209.
January 1, 2025 at 10:45 PM
As per Nicomachus' theorem:
1³ + 2³ + ... + n³ = (1 + 2 + ... + n)²

Hence, the previous fact can also be stated as 2025 being square of a triangular number.

2025 = (1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9)²
January 1, 2025 at 10:45 PM
Happy New Year, 2025 ! 🥳🎉✨

May this year bring you joy, prosperity and everything you wish for !

Numerically, year 2025 holds rare gems which won't occur for decades and centuries. Let's explore 🧵👇
January 1, 2025 at 10:45 PM
Same location nearby in four seasons !
December 5, 2024 at 10:31 AM
Received "1000 Days Badge" on LeetCode today.

Frankly, I've been solving just the daily-problems mostly.
And it lead to 1000+ problems & 50+ badges.

If you've similar goal, a few minutes everyday will easily take you there. Just start and be consistent ! 🎉
December 2, 2024 at 2:19 PM
Didn't get time to read non-tech books for last few months.

I guess, it's best to restart with some familiar yet intriguing topics in vacations, hence, the books below.
December 26, 2023 at 3:14 PM
All art is but imitation of nature ! ❄️

Snowflakes on my window with sunrise in the background. 🤩
December 25, 2023 at 2:17 PM