Rediscover a math identityThis divine harmony of numbers, and of the nature in general (in a mathematical point of view) is one of the reasons we have people…Mar 14, 20231Mar 14, 20231
Faster ways to detect prime numbersIf you have ever written a program to evaluate whether a number is prime or not, it’s very likely that your algorithm looked like the…Mar 3, 20233Mar 3, 20233
Published inCantor’s ParadiseWhat’s happening with 2^n+1 numbers ?I was writing down some numbers of the form 2^n + 1 next to their prime decomposition, when I saw a curious pattern at 2⁵+1.Feb 14, 20238Feb 14, 20238
Published inTowards Data ScienceThe math behind RSAWe usually find fascinating applications of mathematical results in computer science. RSA is one such applicationSep 13, 2022Sep 13, 2022
Published inTowards Data ScienceA study of the most famous random number generatorA study of the linear congruential generator and its weaknessesSep 9, 20223Sep 9, 20223
Who pays DNS providers ?Whenever we are accessing a website in the World Wide Web, we are implicitly making queries to many DNS (Domain Name System) servers in…Dec 5, 20211Dec 5, 20211
Can the moon crash into Earth ? Can it escape its gravity ?Is it a coincidence that the moon revolves around Earth ? What if its speed suddenly increases by a certain amount due to some cause, will…Sep 19, 2021Sep 19, 2021
What’s inside a binary code file ?When introduced to programming, we usually encounter the following statement:Sep 3, 2021Sep 3, 2021
Wildcard matching — Dynamic Programming is easyIn this post, through the wildcard matching problem, I want to highlight the fact that dynamic programming is very intuitive, and once you…Apr 15, 2021Apr 15, 2021
System call — How it worksA system call can be defined as a request made to the OS so that it executes some operations for the user process. In modern operating…Mar 6, 2021Mar 6, 2021