Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Revisions by Paul Muljadi

(See also Paul Muljadi's wiki page)

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Number of Motzkin paths of length n with no peaks at level 1.
(history; published version)
#53 by Paul Muljadi at Thu Oct 10 14:20:51 EDT 2024
STATUS

editing

proposed

#52 by Paul Muljadi at Thu Oct 10 14:20:35 EDT 2024
PROG

(Python)

import sympy as sp

def aupto(n):

x = sp.symbols('x')

expr = (1 - x - sp.sqrt(1 - 2*x - 3*x**2)) / (x**2 * (3 - x - sp.sqrt(1 - 2*x - 3*x**2)))

series_expr = sp.series(expr, x, 0, n).removeO()

return sp.Poly(series_expr, x).all_coeffs()[::-1] # Paul Muljadi, Oct 10 2024

STATUS

approved

editing

The unique function f with f(1)=1 and f(jD!+k)=(-1)^j f(k) for all D, j=1..D, and k=1..D!.
(history; published version)
#59 by Paul Muljadi at Thu Sep 26 15:00:52 EDT 2024
STATUS

editing

proposed

#58 by Paul Muljadi at Thu Sep 26 15:00:39 EDT 2024
PROG

(Python)

from math import factorial

def aupto(n):

f = [1, 1]

for D in range(1, 5):

for j in range(1, D + 1):

sign = (-1) ** j

f.extend(sign * f[k] for k in range(1, factorial(D) + 1))

return f[1:n] # Paul Muljadi, Sep 26 2024

STATUS

approved

editing

Number of ways to partition an n-set into subsets of equal size.
(history; published version)
#68 by Paul Muljadi at Wed Sep 25 18:26:09 EDT 2024
STATUS

editing

proposed

#67 by Paul Muljadi at Wed Sep 25 18:25:42 EDT 2024
PROG

(Python)

import math

def a(n):

count = 0

for k in range(1, n + 1):

if n % k == 0:

count += math.factorial(n) // (math.factorial(k) ** (n // k) * math.factorial(n // k))

return count # Paul Muljadi, Sep 25 2024

STATUS

approved

editing

Positive integers n such that (1, n^2 - 1, n^2) is an abc triple.
(history; published version)
#62 by Paul Muljadi at Mon Aug 12 14:10:23 EDT 2024
STATUS

editing

proposed

#61 by Paul Muljadi at Mon Aug 12 14:10:08 EDT 2024
LINKS

Wikipedia, <a href="http://en.wikipedia.org/wiki/Abc_conjecture">abc conjecture</a>

STATUS

approved

editing

Simple periodic sequence: repeat 1,2,3,4,5,6,7,8,9,10.
(history; published version)
#30 by Paul Muljadi at Tue Aug 06 21:33:55 EDT 2024
STATUS

editing

proposed

#29 by Paul Muljadi at Tue Aug 06 21:33:34 EDT 2024
PROG

(Python) def a(n): return n % 10 + 1 # _Paul Muljadi_, Aug 06 2024

def agen(n):

for i in range(n):

yield (i % 10) + 1 # Paul Muljadi, Aug 06 2024

STATUS

proposed

editing

Discussion
Tue Aug 06
21:33
Paul Muljadi: Done.