Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
It's not a prime number because it can't be divided by itself "and" 1 (because they're the same number and shit)
-
@filthyranter if (x && x) print("Hey this works"); unfortunately I don't think you can apply your logic here.
-
@BradSharp In this context 'and' is set union (counter intuitively), not logical conjunction, so that doesn't have anything to do with it. A prime must have exactly two divisors.
-
awnumar2937yIf 1 is a prime, then the fundamental theorem of arithmetic is no longer true.
I mean it's called the *fundamental* theorem of fucking arithmetic. -
A working set of definitions:
Prime: a natural number with exactly 2 divisors
Composite: a natural number with > 2 divisors
My CS professor just told my class of 200 people that 1 is a prime number.
You can practically hear centuries of mathematicians rolling over in their graves
rant
how does she even get a doctorate?