Karl Austin Burkhardt
  • Home
  • Research
  • Courses
  • Downloads
  • Blog

Daily Programmer #235 [easy]

12/2/2015

2 Comments

 

Ruth-Aaron Pairs

A Ruth–Aaron pair consists of two consecutive integers (e.g. 714 and 715) for which the sums of the distinct prime factors of each integer are equal. These types of pairs were named by Carl Pomerance, uga math professor, after a student noted that 714 and 715 had this characteristic. 714 was the number of career homeruns hit by the Yankee legend Babe Ruth, while 715 was the number of career homeruns hit by Brave legend Hank Aaron in 1974, thus surpassing Ruth's all time home run record which had stood for almost 40 years.

Read More
2 Comments

Daily Programmer #243 [easy]

12/2/2015

0 Comments

 

Abundant and Deficient Numbers

The topic of abundant and deficient numbers arises from number theory. There are three types of numbers this code will analyze:
  • A number is deficient if the sum of its divisors is less than twice the number
  • A number is abundant if the sum of its divisors is more than twice the number
  • A number is perfect if the sum of its divisors are equal to twice the number

Read More
0 Comments

    About Me:

    Runner, scientist, data enthusiast.

    Archives

    October 2016
    March 2016
    February 2016
    January 2016
    December 2015

    Topics

    All
    Daily Programmer
    Distance Challenge
    Python 3
    Race Report
    Recipes

    RSS Feed

Powered by Create your own unique website with customizable templates.