6
ค้นหาค่าสัมประสิทธิ์ของฟังก์ชั่นการสร้างเหตุผล
หากเราเขียนลำดับของตัวเลขเป็นค่าสัมประสิทธิ์ของชุดพลังงานชุดพลังงานนั้นจะเรียกว่า (ธรรมดา) ฟังก์ชันสร้าง (หรือ Gf) ของลำดับนั้น นั่นคือถ้าสำหรับฟังก์ชันF(x)และชุดของจำนวนเต็มa(n)เรามี: a(0) + a(1)x + a(2)x^2 + a(3)x^3 + a(4)x^4 + ... = F(x) จากนั้นเป็นหน้าที่ของการสร้างF(x) aตัวอย่างเช่นชุดรูปทรงเรขาคณิตบอกเราว่า: 1 + x + x^2 + x^3 + x^4 + ... = 1/(1-x) ดังนั้นการสร้างฟังก์ชั่นของการมี1, 1, 1, ... 1/(1-x)หากเราแยกความแตกต่างทั้งสองข้างของสมการข้างบนและคูณด้วยxเราจะได้ความเสมอภาคต่อไปนี้: x + 2x^2 + 3x^3 + 4x^4 + ... = …
12
code-golf
math
integer
polynomials
code-golf
math
abstract-algebra
restricted-time
code-golf
math
primes
code-golf
math
number
arithmetic
code-golf
quine
code-golf
number
sequence
code-golf
string
number
code-golf
array-manipulation
code-golf
number
code-golf
string
code-golf
arithmetic
code-golf
string
array-manipulation
rubiks-cube
code-golf
math
number
code-golf
tips
bash
code-golf
ascii-art
music
code-golf
arithmetic
code-golf
math
number
arithmetic
integer
code-golf
number
array-manipulation
code-golf
geometry
grid
set-partitions
code-golf
math
number
code-golf
combinatorics
code-golf
regular-expression
code-golf
permutations
code-golf
ascii-art
code-golf
number
array-manipulation
matrix
code-golf
kolmogorov-complexity
compile-time
cops-and-robbers
polyglot
cops-and-robbers
polyglot
code-golf
string
code-golf
string
ascii-art
matrix
animation
code-golf
ascii-art
code-golf
string
balanced-string
code-golf
integer
integer-partitions
expression-building