Generalized Digit Parity

This Demonstration shows fractal patterns in the generalized digit parity of natural numbers.
The concept of binary parity can be generalized for non-negative integers and for all positive integer bases by the definition: . Plotting these results in two dimensions produces beautiful fractal patterns. This Demonstration explores a subset of these patterns by allowing the setting of starting values and ranges for and .


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.