In recreational mathematics, a Harshad number (or Niven number) in a given number base, is an integer that is divisible by the sum of its digits when written in that base. Harshad numbers in base n are also known as n-Harshad (or n-Niven) numbers. Harshad numbers were defined by D. R. Kaprekar, a mathematician from […]

Read More →

Stack Overflow is a question and answer site for professional and enthusiast programmers. A user asked the following question “If you could go back in time and tell yourself to read a specific book at the beginning of your career as a developer, which book would it be?” The answers to that question were varied […]

Read More →

As a Java developer there are many instances where you find yourself wanting to separate running unit and integration tests. Here is a simple solution to that problem. The following is a more clear writeup of what is given by JUnit Team. Step1: Create a JUnit category. 1 2 3 package com.rushis.test; public interface IntegrationTest […]

Read More →

Floyd’s triangle is a right-angled triangular array of natural numbers.It is defined by filling the rows of the triangle with consecutive numbers, starting with a 1 in the top left corner. The numbers along the left edge of the triangle are the lazy caterer’s sequence and the numbers along the right edge are the triangular […]

Read More →

Scratch is a project of the Lifelong Kindergarten Group at the MIT Media Lab. It is provided free of charge. Scratch helps young people learn to think creatively, reason systematically, and work collaboratively — essential skills for life in the 21st century. With Scratch, you can program your own interactive stories, games, and animations — […]

Read More →