Abhishek Verma's Avatar

Abhishek Verma

@intelocode

Coding for 15+ years | IIT Kanpur alumnus | Competitive Programmer: 99.5+ percentile | Posts: Computer Science, Maths & Psychology | Expertise: Problem Solving

16
Followers
4
Following
18
Posts
02.12.2023
Joined
Posts Following

Latest posts by Abhishek Verma @intelocode

The place looks wonderful, I'm sure you had great time !

05.01.2025 13:33 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

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 !

05.01.2025 13:31 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

That's the end of thread !

๐Ÿ‘‰ I post about Problem Solving, Computer Science, Mathematics & Psychology.

If you enjoyed the thread, consider following for more such content. Thank you ! ๐Ÿ˜Š

01.01.2025 22:45 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Bonus fact if you're interested in primes:

2025 + 2 is a prime number
โˆš2025 + 2 is a prime number
2025ยฒ + 2 is a prime number

01.01.2025 22:45 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Btw, the word "harshad" comes from Sanskrit, harsh (joy) + da (give) meaning joy-giver.

So, I hope current quadrennium of harshad years 2022-2025 fills your life with joy.

This is the last year of the quadrennium and also has an immaculate factorized form:

2025 = 3โด * 5ยฒ

01.01.2025 22:45 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

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.

01.01.2025 22:45 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

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ยฒ).

01.01.2025 22:45 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

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.

01.01.2025 22:45 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

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)ยฒ

01.01.2025 22:45 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

2025 is also a Cube Year.

2025 = 1ยณ + 2ยณ + 3ยณ + 4ยณ + 5ยณ + 6ยณ + 7ยณ + 8ยณ + 9ยณ
= ฮฃ iยณ

Last such year was 1296,
Next such year will be 3025.

01.01.2025 22:45 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

2025 is a perfect square ie 45ยฒ

Last such year was 1936.
Next such year will be 2116.

In fact, 2025 can be broken in two parts to express as
2025 = (20 + 25)ยฒ

Such year had NEVER occurred,
Next such year will be 3025.

01.01.2025 22:45 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

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 ๐Ÿงต๐Ÿ‘‡

01.01.2025 22:45 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Hi Fernando ๐Ÿ‘‹

Glad to find you here !

05.12.2024 19:56 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

Same location nearby in four seasons !

05.12.2024 10:31 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

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 ! ๐ŸŽ‰

02.12.2024 14:19 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Beautiful !

26.12.2023 15:16 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

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.

26.12.2023 15:14 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

All art is but imitation of nature ! โ„๏ธ

Snowflakes on my window with sunrise in the background. ๐Ÿคฉ

25.12.2023 14:17 ๐Ÿ‘ 5 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0