Everything2
Near Matches
Ignore Exact
Full Text
Everything2

How to determine whether a number is even or odd in any base

created by polygnwnd

(idea) by polygnwnd (10.4 mon) (print)   ?   (I like it!) Thu Sep 20 2001 at 18:01:48

An "even" number is divisible by 2 with no remainder. For integer N in integer base B:
If B is even:
One can determine if N is even or odd by looking at the least significant digit of N (B0). If it is odd then N is odd. If it is even, N is even.
If B is odd:
One can tell if N is even or odd by finding the sum of all the digits of N. If the sum is an even number then N is even. If the sum is odd, then N is odd.

printable version
chaos

irrational-base number system m_turner's postulate Proving a function has only one root in a given interval psychological sound trick
Base nine number system How to determine whether a number is divisible by 4 Gaussian prime light
Boyer-Moore Detent Why? Christian Urban Legends
The Base project paradigm shift Young minion of Sylvester pi
Proof that all odd numbers are prime An interview with Gene Ray Using google cache to scan a web page for relevance to your research even number
Odd Scientology
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Things you could have written:
Pizza dough
Don't touch me when I'm screaming
depression
August 9, 2005
U-2 Incident
Paraclete
Unrecoverable Flight Regime
Getting an STI test
Well-Tempered Clavier
Monkey, monkey, monkey, monkey, William Shatner
Dick Whittington
Slackware
God Moving Over the Face of the Waters
New Writeups
Timeshredder
The Texas UFO Crash of 1897(event)
Heitah
The Dark Knight(review)
ignis_glaciesque
Uppsala(place)
ignis_glaciesque
diffusion of responsibility(idea)
TheOrientalAfrican
The Soft Meadow of my Childhood(event)
BookReader
The Dragon Slayers(fiction)
kohlcass
religiously fashionable(review)
Pavlovna
waulking song(thing)
tentative
Stick Man(poetry)
Ereneta
The Fight with the Snapping Turtle: Or, the American St. George(poetry)
sitaraika
Fog and fire(personal)
MonoliTheory
She sobs in response(fiction)
kohlcass
Arzu(person)
Clarke
Duster(fiction)
mountain boy
Oscar Diaz v. Delvin Rodriguez(person)
Everything 2 is brought to you by the letter C and The Everything Development Company