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.7 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:
London Underground
Her name was Natalie
Critique of Objectivism
How to make printed circuit boards
Pat Metheny on Kenny G
The words behind my words
E2 clueless (newbie) mistakes to avoid
Martial law baby
Guidebook of Colored Ribbons
We Were Soldiers
On being the Older Woman
pipeline
Pascal's wager
New Writeups
antigravpussy
One fly amongst many(person)
sam512
Moon Base Shackleton, 1978(fiction)
Pavlovna
toy boy(person)
XWiz
tear jerker(review)
Heitah
Anarchy is Order(idea)
jessicaj
July 26, 2008(dream)
Berek
ABBA(person)
devolution
k-hole(place)
Nadine_2
The Sound Of Madness(review)
SwimmingMonkey
Conversations with Fo Fo, the Loneliest dog in Purgatory(fiction)
locke baron
lynx(thing)
Simulacron3
Reality, Dimensions and the Natural Ontology(essay)
SubSane
Making Love to a 9-Foot Woman(person)
Ouzo
Thoughts(idea)
antigravpussy
I fall silent, listening. The breadcrumbs are talking about us(person)
Everything 2 is brought to you by the letter C and The Everything Development Company