The module distribution for Pascal's triangle row

by fungarwai, Sep 13, 2019, 12:14 PM

Let $n=\sum_{k=0}^\infty n_k p^k, N_r=\{k|n_k=r\}$

For p=2,

There are $2^{|N_1|}$ different ways to choose $m$ for $\binom{n}{m}\equiv 1\pmod{2}$

For p=3,

There are $2^{|N_1|}\cdot \frac{3^{|N_2|}-1}{2}$ different ways to choose $m$ for $\binom{n}{m}\equiv 2\pmod{3}$ and
$2^{|N_1|}\cdot \frac{3^{|N_2|}+1}{2}$ different ways to choose $m$ for $\binom{n}{m}\equiv 1\pmod{3}$

Proof

For p=5,

The number of $\binom{n}{m}\equiv 1\pmod{5}$ is $
\frac{1}{4}2^{|N_1|}5^{|N_4|}(3^{|N_2|}4^{|N_3|}+0^{|N_3|})
+\frac{1}{2}2^{|N_1|}5^{\frac{|N_2|}{2}}2^{\frac{3|N_3|}{2}}
\cos\left(|N_2|\tan^{-1}\frac{1}{2}-|N_3|\frac{\pi}{4}\right)$
The number of $\binom{n}{m}\equiv 2\pmod{5}$ is $
\frac{1}{4}2^{|N_1|}5^{|N_4|}(3^{|N_2|}4^{|N_3|}-0^{|N_3|})
+\frac{1}{2}2^{|N_1|}5^{\frac{|N_2|}{2}}2^{\frac{3|N_3|}{2}}
\sin\left(|N_2|\tan^{-1}\frac{1}{2}-|N_3|\frac{\pi}{4}\right)$
The number of $\binom{n}{m}\equiv 3\pmod{5}$ is $
\frac{1}{4}2^{|N_1|}5^{|N_4|}(3^{|N_2|}4^{|N_3|}-0^{|N_3|})
-\frac{1}{2}2^{|N_1|}5^{\frac{|N_2|}{2}}2^{\frac{3|N_3|}{2}}
\sin\left(|N_2|\tan^{-1}\frac{1}{2}-|N_3|\frac{\pi}{4}\right)$
The number of $\binom{n}{m}\equiv 4\pmod{5}$ is $
\frac{1}{4}2^{|N_1|}5^{|N_4|}(3^{|N_2|}4^{|N_3|}+0^{|N_3|})
-\frac{1}{2}2^{|N_1|}5^{\frac{|N_2|}{2}}2^{\frac{3|N_3|}{2}}
\cos\left(|N_2|\tan^{-1}\frac{1}{2}-|N_3|\frac{\pi}{4}\right)$

Proof

Example
This post has been edited 1 time. Last edited by fungarwai, Sep 13, 2019, 12:15 PM

Comment

J
U VIEW ATTACHMENTS T PREVIEW J CLOSE PREVIEW rREFRESH
J

0 Comments

Notable algebra methods with proofs and examples

avatar

fungarwai
Shouts
Submit
  • Nice blog!

    by Inconsistent, Mar 18, 2024, 2:41 PM

  • hey, nice blog! really enjoyed the content here and thank you for this contribution to aops. Sure to subscribe! :)

    by thedodecagon, Jan 22, 2022, 1:33 AM

  • thanks for this

    by jasperE3, Dec 3, 2021, 10:01 PM

  • I am working as accountant and studying as ACCA student now.
    I graduated applied mathematics at bachelor degree in Jinan University but I still have no idea to find a specific job with this..

    by fungarwai, Aug 28, 2021, 4:54 AM

  • Awesome algebra blog :)

    by Euler1728, Mar 22, 2021, 5:37 AM

  • I wonder if accountants need that kind of math tho

    by Hamroldt, Jan 14, 2021, 10:55 AM

  • Nice!!!!

    by Delta0001, Dec 12, 2020, 10:20 AM

  • this is very interesting i really appericate it :)

    by vsamc, Oct 29, 2020, 4:42 PM

  • this is god level

    by Hamroldt, Sep 4, 2020, 7:48 AM

  • Super Blog! You are Pr0! :)

    by Functional_equation, Aug 23, 2020, 7:43 AM

  • Great blog!

    by freeman66, May 31, 2020, 5:40 AM

  • cool thx! :D

    by erincutin, May 18, 2020, 4:55 PM

  • How so op???

    by Williamgolly, Apr 30, 2020, 2:42 PM

  • Beautiful

    by Al3jandro0000, Apr 25, 2020, 3:11 AM

  • Nice method :)

    by Feridimo, Jan 23, 2020, 5:05 PM

  • This is nice!

    by mufree, May 26, 2019, 6:40 AM

  • Wow! So much Algebra.

    by AnArtist, Mar 15, 2019, 1:19 PM

  • :omighty: :omighty:

    by AlastorMoody, Feb 9, 2019, 5:17 PM

  • 31415926535897932384626433832795

    by lkarhat, Dec 25, 2018, 11:53 PM

  • rip 0 shouts and 0 comments until now

    by harry1234, Nov 17, 2018, 8:56 PM

20 shouts
Tags
About Owner
  • Posts: 859
  • Joined: Mar 11, 2017
Blog Stats
  • Blog created: Sep 15, 2018
  • Total entries: 18
  • Total visits: 5854
  • Total comments: 8
Search Blog
a