The place looks wonderful, I'm sure you had great time !
The place looks wonderful, I'm sure you had great time !
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 !
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 ! ๐
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
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ยฒ
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.
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ยฒ).
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.
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)ยฒ
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.
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.
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 ๐งต๐
Hi Fernando ๐
Glad to find you here !
Same location nearby in four seasons !
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 ! ๐
Beautiful !
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.
All art is but imitation of nature ! โ๏ธ
Snowflakes on my window with sunrise in the background. ๐คฉ