Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Divisibility by 7 is a Walk on a Graph, by David Wilson

Found this cool test for divisibility by 7 on Tanya’s website. Read about how to use it here, but basically you follow that diagram a certain way.

Divisibility by 7 :-
Divisibility7.jpg


and yeah the graph is planar. :D
Write down a number n. Start at the small white node at the bottom of the graph. For each digit d in n, follow d black arrows in a succession, and as you move from one digit to the next, follow 1 white arrow.

For example, if n = 325, follow 3 black arrows, then 1 white arrow, then 2 black arrows, then 1 white arrow, and finally 5 black arrows.

If you end up back at the white node, n is divisible by 7.

Comments

Part and Inventory Search

Blog entry information

Author
vicky001.iith
Read time
1 min read
Views
1,144
Comments
3
Last update

More entries in Uncategorized

More entries from vicky001.iith

Share this entry

Back
Top