# Did i do this k-map right?

## Main Question or Discussion Point

Hello everyone, here is my k-map of the truth table for prime numbers, if its a prime number it should output 1. I have the truth table and k-map in this picture:
http://img226.imageshack.us/img226/568/jiji4uh.jpg [Broken]
Thanks.

Last edited by a moderator:

Related Electrical Engineering News on Phys.org
Janus
Staff Emeritus
Gold Member

KM

sorry here is the picture bigger!! i don't see how my third term is wrong? http://img132.imageshack.us/img132/9960/lastscan2rz.jpg [Broken]

Last edited by a moderator:
Janus
Staff Emeritus
Gold Member
mr_coffee said:
sorry here is the picture bigger!! i don't see how my third term is wrong? http://img132.imageshack.us/img132/9960/lastscan2rz.jpg [Broken]
you looped ABCD and ABCD, so how did you end up with ABCD?

Last edited by a moderator:
hm....I only looped A'B & CD so i got A'BCD

ohhh i see where i ****ed up, sorry! my friend pointed it out also! too much coffee or somthing. :)