Hey you! Thanks for watching ! :D If you like what you saw, please share the video around :3 Love ya
@integralboi29004 жыл бұрын
You forgot to add the program in the description.
@PapaFlammy694 жыл бұрын
@@integralboi2900 Damn, thank you! It's been fixed now! =)
@MidnightStorm49904 жыл бұрын
@@PapaFlammy69 I'm 16 and I'm really interested in math and learning python. Do you think I should attempt to learn this if I have barely any knowledge on python.
@Ou_dembele3 жыл бұрын
@@MidnightStorm4990 yes start learning
@AndrewDotsonvideos4 жыл бұрын
Hey last year you left your used napkin on my kitchen table. I still have it in case you want it back.
@PapaFlammy694 жыл бұрын
yes, plis.
@Hi_Brien4 жыл бұрын
Ahahaha
@nanare1374 жыл бұрын
Introducing python coding and combining it with the maths on the board sounds good, I would love more of that. :)
@dr.peyamsfan71584 жыл бұрын
Mee too
@PapaFlammy694 жыл бұрын
Definitely more to come soon! :) Thank you for your feedback! :)
@osman97504 жыл бұрын
Exactly my thoughts 👍
@JB-ym4up4 жыл бұрын
Python and n¡? Sounds like a skit about mathematicians that say n¡.
@VerrouSuo4 жыл бұрын
Dividorial is one of the silliest sounding terms I’ve ever heard of... but it’s starting to grow on me.
@PapaFlammy694 жыл бұрын
Same! :DDD
@trevorallen32124 жыл бұрын
Just looking at the word has me going crazy pronouncing it.
@livedandletdie4 жыл бұрын
I'm divided on the subject, but it's a factor, and that can I double down on.
@aasyjepale52104 жыл бұрын
Woah that escalated quickly... Or did it?
@trevorallen32124 жыл бұрын
@@aasyjepale5210 exponentially or linearly?
@demetriuspsf4 жыл бұрын
YES! More dividorial vídeos. I still can't wrap my head around how awesome the notation for the dividorial is. Every time I think of the upside down exclamation I laugh.
@paulthiede4 жыл бұрын
same
@sergey15194 жыл бұрын
¿Qué quieres decir con eso? ¡Eso no es divertido!
@rupachakraborty36814 жыл бұрын
Papa Flammy's Math video with Python programming.........it's worth more than gold. #pymath
@integralboi29004 жыл бұрын
Python? It thought this was a maths channel. Just kidding, these videos are interesting.
@PapaFlammy694 жыл бұрын
=D
@fractal_lynn4 жыл бұрын
Hey! I'd recommend using the Decimal class for longer decimals! Also python can handle converting to floating point automatically. the range in the for loop can specify an iteration, so "for i in range(x,1,-2): temp *= i" would solve the double factorial You can also slip expressions directly into the return statement! Some of the code that I wrote; def factorial( x, degree = 1 ): temp = 1 for i in range( x, 1, -degree ): temp *= i return temp def dividorial( x ): return float( factorial( x, 2 ) / factorial( x - 1, 2 ) ) You might be interested in Spyder, software included in the Anaconda package that comes with interesting packages built in for python data science. I am very impressed by how this converges to pi/2, this is incredible! I really enjoy your videos and look forward to more videos like this! :D
@PapaFlammy694 жыл бұрын
Thank you for the python bits and the information!!! :)
@fractal_lynn4 жыл бұрын
@@PapaFlammy69 Oh, and I apologize. I was mistaken for thinking pi/2 was Tau. Tau is actually 2pi, but I'm sure you already know that haha. Anyways, you might be interested to know Python has a built in complex number datatype. I used it to generate the fractal in my pfp lol.
@paulthiede4 жыл бұрын
@@fractal_lynn i thought that was just a zoomed in screenshot of the mandelbrot set. but yeah, i dont think the mandelbrot set looks like that, at least not exactly.
@fractal_lynn4 жыл бұрын
@@paulthiede Its a warped version of the mandelbrot set zoomed in to a specific spot; i.imgur.com/LmK5kow.png Also heres strictly the mandelbrot set with 1024 iterations per pixel; (7200x5400) i.imgur.com/l7JFxrH.png
@SugarBeetMC4 жыл бұрын
@@fractal_lynn There is math.factorial().
@jfbb33694 жыл бұрын
I really liked the python part. I’m learning programming myself and this really helps understand math concepts in programming. Thanks Jens 😉
@PapaFlammy694 жыл бұрын
Nice :3
@dozzco28274 жыл бұрын
This video was incredibly interesting and incredibly fun to watch! Looking forward to more of this soon!
@PapaFlammy694 жыл бұрын
Thank you! =)
@MYCHEM1CALR0M4NCE4 жыл бұрын
I've followed you for a few years now and this is one of my favourite videos you've made :))
@eliyasne96954 жыл бұрын
Seeing your video, one might mistakenly think that the limit notation was invented in the middle east.
@PapaFlammy694 жыл бұрын
:'D
@shoopinc4 жыл бұрын
Al-Cauchy
@TheMahu134 жыл бұрын
Since an integer is either odd or even, you can simply right : if x%2 == 0 : ... else : ... Your video was really cool I like the addition of programming in it :) ! Keep it up
@sergey15194 жыл бұрын
you can also do just: if x%2: ... else: ... but much cleaner solution was suggested for double factorial, that avoids cases altogether: df = 1 for i in range(x, 1, -2): df *= i return df
@angelmendez-rivera3514 жыл бұрын
Also, here are some relatively simple formulae that extend the dividorial to complex arguments via analytic continuation. z¡ = 1/sqrt(2)·(z/2)!/[(z - 1)/2!]·sqrt(π/2)^[cos(πz)/2] z¡ = 1/sqrt(2π)·2^z·sqrt(π/2)^[cos(πz)/4]·(z/2)!^2/z! z¡ = 1/sqrt(2π)·exp[ln(2)·z + ln(π/2)/4·cos(πz)]·Π(z/2)^2/Π(z) The second formula removes the quotient of difference from the first, just in case that this is preferrable, and expresses the dividorial more directly in terms of the factorial, and the third formula addresses notational concerns: namely, it uses the Π notation for complex numbers instead of using the factorial notation, which is, in most rigorous circles, reserved for natural numbers only, and it also addresses the concern that complex exponentiation is technically multivalued, and that the analytic exponential function should be used instead.
@SugarBeetMC4 жыл бұрын
0:44 On the one hand, Pi. On the other hand, Py.
@m1kr0kosmos4 жыл бұрын
thanks for the python stuff. Since you, Lex Fridman & Andrew Dotson & 3B1B have some shared interest, I am surely not the only one hoping you all bro it out
@budtastic12244 жыл бұрын
I've decided to call n!/(n-1)! the unfactorial
@MathIguess4 жыл бұрын
Bruh my math degree is killing me and then I watch more math to unwind What am I even? Lol
@PapaFlammy694 жыл бұрын
bruhv
@NathanThomasisepic4 жыл бұрын
You didn't have to split it up into odd and even cases. You can just do: def dfac(x): df = 1 for i in range(x, 1, -2): df *= i return df This loops through the range from x to 1 and subtracts 2 for each iteration.
@PapaFlammy694 жыл бұрын
That is nice, I didn't know about that, thank you! :)
@VACatholic4 жыл бұрын
@@PapaFlammy69 No papa. Just do: def dfac(x): return prod(range(x,1,-2)) "prod" is the product of all elements in a list, no need to write loops :(
@VACatholic4 жыл бұрын
no need to loop. Use "prod"
@nitroh77454 жыл бұрын
I LOVE this new format it is amazing!! Thanks papa
@fedebonons84534 жыл бұрын
The CIAO at the end is poetry for my italian ears
@MathIguess4 жыл бұрын
I like the math + python format, it's nice Also, well made video, damn :D
@AggieRinse4 жыл бұрын
Love the python/coding bits! More!
@mastershooter644 жыл бұрын
papa flammy are you gonna invent fractional rank tensors and fractional dimensional calculus in the next upload?
@bmw123ck4 жыл бұрын
Love python being introduced to the channel!!
@Kdd1604 жыл бұрын
Lol 4:05 what is wafu do u mean wife?? 🤣🤣🤣🤣😂😂 I think dividorial is pi's boyfriend and pi is dividorial's girlfriend what a beautiful relationship 😍😻💟 And u pronounce 5 like FAF just like y as whayy(inspiriert von Ozarks bester Netflix-Serie) And u pronounce pi over 2 like paaaye over two ("""")
@emonaetothexlisa91944 жыл бұрын
Paaayeee over 2 lmao
@paulthiede4 жыл бұрын
lmao
@davids8414 жыл бұрын
Using modulus two inside some of the loops can make for some much faster and nicer branchless coding. This would help if you were to try very large values of n.
@matrefeytontias4 жыл бұрын
This `elif` with the entire test of whether x is odd after we already know it's not even hurts my little programmer heart. At least the cool math makes up for it ;_;
@paulthiede4 жыл бұрын
yeah, he could just have made an else. I noticed that as well and I dont understand it too.
@gabriel72334 жыл бұрын
He didn't even have to consider 2 cases and just made loop with step 2
@matrefeytontias4 жыл бұрын
Yeah, but for someone who's not a programmer and only follows the mathematical logic, it makes sense to have a disjunction of cases. Otherwise, just loop from n down to 1 exclusive in steps of 2 and multiply throughout.
@Daniel-nl3ug4 жыл бұрын
This code makes sense because if it's not even, it could be a decimal, in which case it'd make sense to have an else statement and then raise an input error exception, papa just didn't include that part because it's not very relevant to the video.
@paulthiede4 жыл бұрын
@@Daniel-nl3ug you're right! i didnt think of that
@paulthiede4 жыл бұрын
def double_fac(x): product = 1 for i in range(x,1,-2): product = product * i return product This would also work as a double factorial
@VACatholic4 жыл бұрын
so would: def double_fack(x): return prod(range(x,1,-2))
@zh844 жыл бұрын
Or just import scipy, which has a "factorial2" function that calculates the double factorial for you.
@PapaFlammy694 жыл бұрын
lel
@dhoyt9024 жыл бұрын
Hi Papa FM I have a question. You know how we accelerate summation series with partial sums(like Euler transform(ie van vigngaarden) and Shanks? Are there methods to accelerate this product? Or, would you have to treat the product as a series of repeated sums and then apply acceleration?
@angelmendez-rivera3514 жыл бұрын
Most likely the latter.
@angelmendez-rivera3514 жыл бұрын
What I find neat about this is the fact that you unknowingly found a zeroth order asymptotic expansion for the dividorial. lim (2n)¡^2/(2n + 1) = π/2 implies lim (2n)¡/sqrt(2n + 1) = sqrt(π)/sqrt(2). sqrt(2n + 1) = sqrt(2)·sqrt(n + 1/2), so lim (2n)¡/sqrt(n + 1/2) = sqrt(π). Incidentally, this implies that lim (2n)¡/sqrt(n + 1/2) = (-1/2)!, so there is another cool connection between the dividorial and the factorial. Anyhow, the point I am making is that (2n)¡ ~ sqrt(π)·sqrt(n + 1/2), or equivalently, (2n)¡ = O(sqrt(n + 1/2)). This is useful because it gives you an understanding of growth that is now useful for calculating many other limits.
@iridium85624 жыл бұрын
Im seriously getting pissed at youtube, i got this recommended but I wasn’t notified..? What..?
@PapaFlammy694 жыл бұрын
I hate it so god damn much :(((
@jack_papel4 жыл бұрын
12:00 I might be wrong but I'm pretty sure implications don't work like that
@mkdk68314 жыл бұрын
Is there a way to write the dividorial as an integral formula just like the gamma- or pi function for the factorial?
@PapaFlammy694 жыл бұрын
haven't found one yet sadly :3
@aaronneugebauer47524 жыл бұрын
There exists an integral representation of 1/dividorial through n!!/(n-1)!!= Integral from 0 to pi/2 of sin(x)^n dx (*2/pi if n is even). So you can conclude that 1/divdorial=Integral from 0 to pi/2 sin(x)^n/((3*pi/4)+pi/4*(-1)^(n+1)) dx. WolframAlpha then gives an even better formular for dividorial with some transformations: www.wolframalpha.com/input/?i=1%2F%28%283*pi%2F4%29%2Bpi%2F4*%28-1%29%5E%28n%2B1%29%29+sin%28x%29%5En+dx+from+0+to+pi%2F2
@angelmendez-rivera3514 жыл бұрын
Arjun Vyavaharkar I am not a fan of the fact that you defined a shifted version instead of simply defining an extension of the original. It is needlessly cumbersome.
@angelmendez-rivera3514 жыл бұрын
Arjun Vyavaharkar *Use it or lose it* Nobody is going to be using such an arbitrary formula of an arbitrarily named function that doesn't really show up in applications. Also, I guess you're too damn immature to accept constructive criticism. It's not my fault you're so hopelessly arrogant.
@angelmendez-rivera3514 жыл бұрын
Arjun Vyavaharkar *I don't care about what you think* And I don't care that you don't care. Grow up, kid.
@diegoalbertoduransalas48063 жыл бұрын
that was so... clean!!
@gabriel72334 жыл бұрын
Why didn't you just made a loop from n to 1 with step -2 in dfac(x), it would be just df *= i and you wouldn't have to consider 2 cases
@Arnodorian61254 жыл бұрын
Pls do a live Q&A
@PapaFlammy694 жыл бұрын
On my list already! :)
@PositronQ4 жыл бұрын
In the seco d Python program you can implement the code into a Github repository and I like This implementation
@hugh16434 жыл бұрын
this was stupid why not just print(math.pi/2) smh my head
@PapaFlammy694 жыл бұрын
;_;
@paulthiede4 жыл бұрын
xD
@tomkerruish29824 жыл бұрын
"smh my head"? :D
@ElZedLoL4 жыл бұрын
Shaking my head my head
@ycombinator7654 жыл бұрын
@@tomkerruish2982 shaking (my head) ^2
@hugh16434 жыл бұрын
so 1/dividorial looks a bit like the integral of sin^n(x) or cos^n(x) from 0 to pi/2 just looking at the wikipedia page for double factorials.
@maksimpobedinsky54584 жыл бұрын
nice
@victorrizkallah60144 жыл бұрын
The python part is great
@hhtt374 жыл бұрын
For python, maybe jupyter could be better for video, mixing live execution and cached results. Math plots could be enlightening!
@diegowielandt70894 жыл бұрын
great format
@comradeelmo52724 жыл бұрын
I'm so used to visual studio it felt weird not seeing visual studio
@PapaFlammy694 жыл бұрын
xD
@enzoqueijao4 жыл бұрын
He back ¡
@elijahcamcam46114 жыл бұрын
where do you buy a chalkboard
@torment8084 жыл бұрын
But what are their applications?
@nnniv4 жыл бұрын
Ayy python
@juansalazar68494 жыл бұрын
Math goes wild
@OriginalSuschi4 жыл бұрын
Ok so if we want to write the double factorial in terms of factorial, we would get this, right? : n!! = (2*(n/2))(2*(n/2 -1))...*(2*2)(2*1), which then equals to (n/2)!*2^(n/2) For even n's, right?
@paulthiede4 жыл бұрын
though im not sure I think you made an error with "2*(n/2-1)" I think it would need to be "2(n/2)-1" in order to be correct
@OriginalSuschi4 жыл бұрын
Clashgamer04 if it was according to my assumption, for n=6 it would be: (2*(6/2))(2*(6/2 -1))(2*(6/2 -2))=(2*3)(2*2)(2*1), which is the thing PapaFlammy wrote as well. With your assumption it would be: (2*(6/2))(2*(6/2)-1)(2*(6/2)-2 = 2*3*2*5*2*4 PapaFlammy already wrote (2*(n/2 - 1)) out to (2*n/2 -2)
@angelmendez-rivera3514 жыл бұрын
Yes, n!! = 2^(n/2)·(n/2)! for even n is correct indeed.
@Milldyria4 жыл бұрын
Is (ai)^2+(bi)^2=(ci)^2 Or any sutch identity?
@paulthiede4 жыл бұрын
i mean (ai)² + (bi)² = aiai + bibi = -a² - b² and (ci)² = cici = -c² so -a² - b² = -c² which would be a² + b² = c² | *(-1). So just the pythagorean formular multiplied by -1. But then again its obvious that that would be true if you do the following: a² + b² = c² | *i² a²i² + b²i² = c²i² = (ai)² + (bi)² = (ci)². But because i²= -1 we are looping around with the same expressions. To answer your question, idk if there would be any use to your identity, but I think it would be a funny way of calculating the length of a hypothenuse in the 9th grade. :-)
@___c56454 жыл бұрын
Clashgamer04 Dividorial notation, not i. a¡ is different from ai
@Milldyria4 жыл бұрын
@@paulthiede I was thinking about the dividorial. It would be very interesting to see if there are any identities with it. Like I dunno, pascals triangle but with dividorials. Or golden ratio in dividorials terms.
@tablonhobbs454 жыл бұрын
Still love ya, papa
@OriginalSuschi4 жыл бұрын
Wait but which dividorial definition do you mean here? 🚰 Asking before watching the video
@angelmendez-rivera3514 жыл бұрын
Why would you ask before the watching the video? That is so pointless.
@OriginalSuschi4 жыл бұрын
Angel Mendez-Rivera yeah I know, but I like pointless things. Life is pointless as well... And I am 14 and this is deep
@diederickfloor42614 жыл бұрын
Poopietorial
@rokarus76584 жыл бұрын
So since we have lim ((2n)¡)^2/(2n+1) -> pi/2, does that mean that we have n¡ ~ n^1/2 ?
@angelmendez-rivera3514 жыл бұрын
I think it would be more accurate to say n¡ = O(n^(1/2))
@Milldyria4 жыл бұрын
What is the plot of Sin(xi) or cos(xi)?
@hughmungous15394 жыл бұрын
Sinh(x) and cosh(x) respectively I'm pretty sure
@PapaFlammy694 жыл бұрын
kinda, yes
@angelmendez-rivera3514 жыл бұрын
I think he meant the plot of sin(x¡) and cos(x¡). But honestly, there are no "good" continuous representations of the double factorial... let alone the dividorial. And no, I'm not counting that one strange continuous representation that Wikipedia uses for the double factorial. It hardly makes any sense to use, given the context.
@Supremebubble4 жыл бұрын
I noticed
@PapaFlammy694 жыл бұрын
@OmegaBlackjack4 жыл бұрын
Ok, why didn’t we just multiplied wa*2 to seek for π, not π/2 ? xD
@matthewcapstick62424 жыл бұрын
At 7:48 is that a sin or a k or a h?
@angelmendez-rivera3514 жыл бұрын
Yes
@phat53404 жыл бұрын
Papa flammy do you have depression ?
@PapaFlammy694 жыл бұрын
wat? Hell no lol
@phat53404 жыл бұрын
You look like you're having a Vietnam flashback on almost every video
@PapaFlammy694 жыл бұрын
xD
@klofat4 жыл бұрын
do not mix up П and п.
@djvalentedochp4 жыл бұрын
Nice
@Frankie130744 жыл бұрын
33th!!!
@PapaFlammy694 жыл бұрын
nice xD
@matron99364 жыл бұрын
But what is !i¡!?
@michaelempeigne35194 жыл бұрын
pi^2 does not equal g
@angelmendez-rivera3514 жыл бұрын
It does, though
@michaelempeigne35194 жыл бұрын
@@angelmendez-rivera351 only to one decimal place
@angelmendez-rivera3514 жыл бұрын
Michael Empeigne Yeah. That's good enough.
@spaghetti13834 жыл бұрын
Nice Jojo reference
@sovietcat9194 жыл бұрын
Papa answer this question I bet you can’t What’s 2+2
@PapaFlammy694 жыл бұрын
4 apples
@sovietcat9194 жыл бұрын
@@PapaFlammy69 oh my I underestimated your intelligence
@PapaFlammy694 жыл бұрын
indeed my dear son.
@sovietcat9194 жыл бұрын
@@PapaFlammy69 Dear Papa, I am sorry to inform you that the answer is actually 22 apples
@ricardoparada53754 жыл бұрын
I never liked python syntax (c++/java looks so much better lmao) but this is still some really cool stuff
@tryphonunzouave83844 жыл бұрын
4 views 4 thumbs up, talk about ratio
@shlokmahajan8439 Жыл бұрын
Hello bro love from India,your vedio helps a lot
@OonHan4 жыл бұрын
haha yes
@footballknight74 жыл бұрын
I am second NGL!
@fujatv5034 жыл бұрын
*laughs in engineering* i havent understood a word you said, but i know that it is useless
@paulthiede4 жыл бұрын
is it really that hard? i mean i always though like "why is he explaining that 6/2 =3?"
@fujatv5034 жыл бұрын
@@paulthiede oh that is what he was trying to tell in this video, thanks for translating
@mattchris34214 жыл бұрын
GENIUS likes to use blackboard not White board....using white board u become dumb cuz keep asking ' Why Board? '
@mudkip_btw4 жыл бұрын
I think a better name of the dividorial would be fictorial, short for fiction-orial, get it, fact-orial, fiction-orial cuz the dividorial is kind of made up ok imma leave
@mudkip_btw4 жыл бұрын
Do like the number pahhh
@mudkip_btw4 жыл бұрын
Please stop using the upside down ! :d just use a ?
@RealLifeKyurem4 жыл бұрын
Randy ? is already used for the termial, the addition version of the factorial. The function is introduced by Donald Knuth in 1997. Example: 5? = 1 + 2 + 3 + 4 + 5 5? = 15 In general: n? = n(n+1)/2
@mudkip_btw4 жыл бұрын
@@RealLifeKyurem ah I didn't know that, ty
@integralboi29004 жыл бұрын
n. is a good option, but so is n, and maybe n;.
@twiddle71254 жыл бұрын
May I make a suggestion to just slow down your speech just a little bit. Actually, you don't need to slow down, but you should take a breath between sentences, lol.
@VACatholic4 жыл бұрын
Your code sucks papa. You should just: def dfac(x): return prod(range(x,1,-2)) I'm disappointed.