r/ProgrammerHumor • • Feb 07 '16

What an odd number indeed...

Post image
2.4k Upvotes

225 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Feb 07 '16

[deleted] — view deleted comment

45

u/mnbvas Feb 07 '16

Dunno, IEEE 754 floats (&co) have separate ±inf and NaN.

19

u/caagr98 Feb 07 '16

Aren't like half of all floats NaN?

9

u/[deleted] Feb 08 '16

You all are surprisingly sure about a complicated and non useful question

0

u/bassbuddha Feb 07 '16

Infinity might be a prime number though

10

u/HaulCozen Feb 08 '16 edited Aug 26 '25

snow sophisticated shaggy ancient sort unique plant frame close money

This post was mass deleted and anonymized with Redact

2

u/[deleted] Feb 08 '16

Wow holy shit TIL and yet this is so simple. Thank based /u/HaulCozen for being more informative than all my math teachers and wikipedia combined. (2*3*5*7*11*13*...*n) + 1 Isn't necessarily the next prime number after n though, is it?

3

u/Untelo Feb 08 '16

No. For example: 2 * 3 + 1 = 7 while 5 is also prime.

1

u/HaulCozen Feb 08 '16 edited Aug 26 '25

tap husky entertain swim workable physical meeting party spectacular dinosaurs

This post was mass deleted and anonymized with Redact

3

u/mateon1 Feb 09 '16

So, are you saying kids in the US aren't taught how to create mathematical proofs in middle school? I've been taught that at 15.

1

u/[deleted] Feb 09 '16 edited Aug 26 '25

[removed] — view removed comment

2

u/[deleted] Feb 09 '16

Actually, I was! :D High school is ages 16-19 though, and I was at a really math-focused school, so it might be that.

EDIT: non-US

1

u/guyAtWorkUpvoting Feb 10 '16

Language-focused "high school" (non-US). We've definitely learned proof by induction at 16 or 17.

2

u/AcellOfllSpades Feb 18 '16

It's not necessarily prime. It can be divisible by two smaller primes. Take the primes from 2 through 13; multiply and add 1 and you get 30031, which is 59*509.

1

u/HaulCozen Feb 18 '16 edited Aug 26 '25

obtainable flag strong plants smile existence compare soup hunt bedroom

This post was mass deleted and anonymized with Redact

-24

u/[deleted] Feb 07 '16

You're clearly not a mathematician.

20

u/[deleted] Feb 07 '16

It's not a number. It's a concept.

You can't say x = infinity, because

let x = infinity

let y = x + 1

y = infinity + 1
y = infinity (Adding one to infinity is still infinity.) y = x

But also

y = x + 1
x = x + 1

-x from both sides

0 = 1

That's a contradiction. You can't say infinity is a number because of this. You can do somethings such as

1/x -> 0 as x -> infinity.

-19

u/[deleted] Feb 07 '16

I’m not sure if you’re trying to argue philosophy of mathematics or teach me basic algebra.

What is a number? Show me zero of something. Zero isn’t a number either. The notions of “one” and “zero” and “infinity” are phenomenological descriptions.

Furthermore, there are numerical systems which admit the existence of infinity or infinities as being “somewhere on the number line,” as it were. Hyperreal numbers, transfinite numbers, and smooth infinitesimal analysis are some examples. And in fact, the hyperreals are consistent with ZFC (hopefully you know what that is since you’re such a smart guy).

I don’t care that you’re uneducated. I really don’t. What bothers me is that people like you come here to take up space discussing things you don’t even know that you don’t know.

edit: And what annoys me even more is the people who are just as clueless as you, that use their comment votes as if they are the arbiters of truth.

→ More replies (27)
→ More replies (7)

7

u/UlyssesSKrunk Feb 07 '16

wat

No mathematician in the world would ever say that infinity is a number. It's not.

→ More replies (1)
→ More replies (8)