The utility numfmt, part of Gnu Coreutils, formats numbers. The main uses are grouping digits and converting to and from…

Continue Reading# numbers

## Binary surprise

As mentioned in the previous post, the Gauss-Wantzel theorem says you can construct a regular n-gon with a straight edge…

Continue Reading## Prime numbers and Goldbach’s conjecture visualization.

isn’t it?The German mathematician G. F. B. Riemann (1826–1866) observed that the distribution of prime numbers is very closely related…

Continue Reading## Share The π: Honoring Neglected Mathematical Constants

Subsequent occurrences are fairly common. Brun’s and Meissel-Mertens ConstantsPrime numbers make an appearance in two fascinating constants we’ll discuss next.…

Continue Reading## List Comprehension in Python

List Comprehension in PythonCreating new lists from other iterablesRupesh MishraBlockedUnblockFollowFollowingMay 11, 2017List comprehensions are used for creating new lists from other…

Continue Reading## Creating functions and using lapply in R

Creating functions and using lapply in RMichael Grogan (MGCodesandStats)BlockedUnblockFollowFollowingMay 31Functions are used to simplify a series of calculations. For instance, let…

Continue Reading## Julka — SPOJ

Read the question and scratch your skull for a while thinking about some math. Maybe put a pen onto a…

Continue Reading## Autocorrelation test for independence

Autocorrelation test for independenceDHIRAJ D SBlockedUnblockFollowFollowingMay 11Autocorrelation is a characteristic of data in which the correlation between the values of…

Continue Reading## String Calculator Kata using Eta

" ++ (mkInput separators ns)) `shouldBe` sumList nsThe novelty in this test is the composition of multiple multi-character separators. Fortunately…

Continue Reading## Accurate decimal numbers in PHP

Accurate decimal numbers in PHPRudi TheunissenBlockedUnblockFollowFollowingNov 15, 2018Most web applications deal with decimal numbers at some stage — currency, coordinates, measurements, scientific arithmetic — but…

Continue Reading## How fast can you multiply really big numbers?

Using the algorithm you learned in elementary school, it takes O(n²) operations to multiply two n digit numbers. But for…

Continue Reading## Set Theory — History & Overview

Set Theory — History & OverviewPart I — What Is Set Theory & Why Is It Relevant Today?Jesus NajeraBlockedUnblockFollowFollowingJan 12The concept of infinity is ideologically far…

Continue Reading## Prime numbers in complex domains are actually quite simple

Likewise, a number in Z[√−2] is said to be divisible by another number in Z[√−2] if the result of the…

Continue Reading