Number Theory - Misc: Fib, GCD, LCM, Pow (Arabic)

preview_player
Показать описание
Content Link:

Content:
1- Fibonacci
2- GCD & LCM
3- Permutations & Combinations
4- Stirling & Bell Numbers
5- Calc: a^p
6- Calc: a^1 + a^2 + .... a^p

Problems: UVA(10368, 369, 412, 11000, 10229, 10892, 11388, 10717)

Links
Рекомендации по теме
Комментарии
Автор

I talked again about Stirling in my "Permutations In depth" Session.

Wiki is enough to understand it

ArabicCompetitiveProgramming
Автор

13:50
ليه مستعمناش هنا geometric series
(1-a^(n+1))/(1-a)؟

ibrahimothman
Автор

Dr.mostafa (a=a-b equal a:=a-b) coding or not same I don't understand only this

NAGM_CODE
Автор

great content as usual.. do you have more resources for stirling numbers?
thanks for the great effort, and keep it up! :)

mustafaabdeltawwab
Автор

خلصت يعتبر كورس حضرتك c++ودخلت ف شيتات acmومن اولها ايرورات طبعا ي دكتور مليت بقالي كتير ف السؤال ده ممكن مساعده وشكرا لحضرتك ووممكن لو ف فيديو لحضرتك اتزاى نتعامل مع كود فورسيس وكمان ف طريقه غير اليوتيوب للتواصل مع حضرتك؟

naderahmed
Автор

السلام عليكم ورحمة الله و بركاته
انا كنت بحاول احل المسألة الاولى اللى حضرتك حطيتها تحت الفيديو
و قعدت فيها من الفجر لحد الساعة 1 بالليل و لحد اللحظة دى معرفتش احلها
مع انى حاسس انى قريب جدا من الحل اعمل ايه؟

momenmostfa
Автор

Yeah, I actually checked out the wiki page, but it was a little ambiguous - or maybe i wasn't as concentrating as i thought i was back in college math :D -.. i'll check the session u mentioned. thanks for the quick reply :)

mustafaabdeltawwab
Автор

Minute: 13:12, if i wanted to modify the pow function in order to return a value mod (10^9)+7, should i add sq = sq%( (10^9) + 7) after the sq = sq*sq line or it won't work?

abdelrahmanmounir
Автор

هو الدرس صعب كده ليه ! 😅
بالذات عند ال permutations

zaidrj
Автор

i can t find the lesson on github link that u ve provided

houssemkhi
Автор

i have got stuck with function sumPow in minute:15:25 i am trying to trace it result not lead me to what you say can you tell me simple discusion to it

ahmedelafifi