Câu hỏi được gắn thẻ «number-theory»

Lý thuyết số liên quan đến tính chất và mối quan hệ của các số, chủ yếu là số nguyên dương.




7
Xây dựng ma trận Jacobian
Lấy vectơ của ẩn số , và áp dụng một số hàm phân biệt chung . Các Jacobian sau đó được đưa ra bởi một ma trận như vậy: Ví dụ, giả sử m=3và n=2. Sau đó (sử dụng lập chỉ mục dựa trên 0) Jacobian fsau đó là Mục …

25
Tính vận tốc tương đối tính
Trong thuyết tương đối đặc biệt , vận tốc của một vật chuyển động so với một vật khác đang chuyển động ngược chiều được đưa ra theo công thức: s = v + u1 + v u / c2.s=v+u1+vu/c2.\begin{align}s = \frac{v+u}{1+vu/c^2}.\end{align} s = ( v + u ) / …

12
Bộ phụ gia N-duy nhất
Hãy nhớ rằng một bộ là không có thứ tự mà không trùng lặp. Định nghĩa Một tập hợp phụ gia N -uniquely S có độ dài là K là một tập hợp sao cho tất cả các tập con N -length trong S tổng thành các số khác nhau. …



3
Số Knödel - Tìm Kn
Số Knödel Các số Knödel là một tập hợp các chuỗi. Cụ thể, số KNODEL cho một số nguyên dương nlà tập hợp các hợp số m, chẳng hạn rằng tất cả i < m, nguyên tố cùng nhau đến m, thỏa mãn i^(m-n) = 1 (mod m). Tập hợp …


7
Code-Golf: Trình tự Farey (I)
Thử thách Trong tác vụ này, bạn sẽ được cấp một số nguyên N (nhỏ hơn 10 ^ 5), xuất chuỗi Farey theo thứ tự N. Đầu vào N được cho trong một dòng duy nhất, đầu vào được kết thúc bằng EOF. Đầu vào 4 3 1 2 Đầu …
10 code-golf  math  code-golf  math  code-golf  number  number-theory  code-golf  math  arithmetic  repeated-transformation  code-golf  geometry  popularity-contest  code-golf  code-golf  tips  haskell  math  fastest-algorithm  code-golf  combinatorics  code-golf  math  polynomials  rational-numbers  code-golf  code-golf  popularity-contest  javascript  code-golf  kolmogorov-complexity  code-golf  code-golf  math  combinatorics  permutations  code-challenge  restricted-source  random  array-manipulation  code-challenge  generation  code-golf  code-golf  ascii-art  arithmetic  division  code-challenge  number  code-golf  math  number  binary  code-golf  ascii-art  code-golf  interpreter  stack  code-golf  internet  networking  code-golf  math  code-golf  ascii-art  code-golf  math  sequence  code-golf  hello-world  restricted-source  code-golf  ascii-art  code-golf  geometry  code-golf  kolmogorov-complexity  pi  code-golf  math  combinatorics  permutations  code-golf  math  code-challenge  ascii-art  code-golf  string  code-golf  quine  code-golf  math  floating-point  golfscript  code-golf  string  code-golf  sliding-puzzle  code-challenge  arithmetic  code-golf  math  code-golf  geometry  optimized-output 

2
Lời khuyên cho việc chơi golf trong The Powder Toy
Hãy vui vẻ với điều này, The Powder Toy là một thử thách thú vị cho golf, đặc biệt là với logic lọc. Điều khiến TPT trở thành một thách thức là rất nhiều cách để tiếp cận một vấn đề: Should I use Cellular Automaton rules, SWCH logic, Filt …
9 code-golf  tips  the-powder-toy  code-golf  number  array-manipulation  integer  code-golf  string  decision-problem  boggle  code-golf  array-manipulation  average  code-golf  math  code-golf  decision-problem  restricted-source  code-golf  code-golf  math  primes  code-golf  random  code-golf  tips  perl  code-golf  string  parsing  code-golf  math  number  decision-problem  code-golf  math  number  code-golf  string  alphabet  code-golf  math  geometry  code-golf  interpreter  brainfuck  code-golf  code-golf  decision-problem  boggle  code-golf  math  number  sequence  code-golf  math  code-golf  ascii-art  code-challenge  restricted-source  quine  code-golf  math  decision-problem  number-theory  primes  code-golf  ascii-art  code-golf  integer  graph-theory  chess  code-golf  math  interpreter  code-golf  code-golf  code-golf  ascii-art  code-golf  arithmetic  number-theory  code-golf  string  kolmogorov-complexity  code-golf  string  decision-problem  code-golf  primes  factoring  encode  code-golf  decision-problem  code-golf  geometry  grid  code-golf  quine  code-golf  matrix  code-golf  matrix  code-golf  code-golf  number  array-manipulation  code-golf  array-manipulation  sorting  code-golf  matrix  code-golf  brain-flak 

5
Bốn trục xoắn ốc
Lấy các số 0, 1, 2, 3, 4, ...và sắp xếp chúng theo hình xoắn ốc theo chiều kim đồng hồ, bắt đầu đi xuống, viết từng chữ số vào ô vuông riêng của nó. Sau đó, đưa ra một trong bốn ký tự ASCII riêng biệt và nhất quán …

13
Mở rộng chuỗi so sánh
Không giống như hầu hết các ngôn ngữ, Python đánh giá a<b<cnhư nó sẽ được thực hiện trong toán học, thực sự so sánh ba số, trái ngược với việc so sánh boolean a<bvới c. Cách chính xác để viết điều này trong C (và nhiều người khác) sẽ là …
9 code-golf  parsing  conversion  syntax  code-golf  sequence  primes  code-challenge  geometry  optimization  code-golf  graph-theory  code-golf  number-theory  primes  integer  code-golf  source-layout  cops-and-robbers  code-golf  source-layout  cops-and-robbers  code-golf  sequence  primes  integer  code-golf  math  number-theory  primes  rational-numbers  code-golf  math  sequence  number-theory  primes  code-golf  string  code-golf  math  combinatorics  permutations  restricted-complexity  code-golf  array-manipulation  code-golf  number  sequence  code-golf  number  sequence  code-golf  binary-matrix  code-golf  math  tips  javascript  algorithm  code-golf  string  code-golf  number  sequence  code-golf  math  arithmetic  parsing  code-golf  number  sequence  primes  code-golf  string  ascii-art  geometry  integer  code-golf  geometry  code-golf  number  array-manipulation  code-golf  math  geometry  code-golf  number  sequence  arithmetic  integer  code-golf  string  kolmogorov-complexity  code-golf  number  code-golf  number  chess  code-golf  sequence  decision-problem  subsequence  code-golf  math  number  primes  code-golf  primes  permutations  code-golf  integer  probability-theory  statistics  code-golf  string  code-golf  sequence  decision-problem  parsing  board-game  code-golf  binary  graph-theory  code-golf  board-game  classification  tic-tac-toe  code-golf  ascii-art  polyglot  code-golf  date  code-golf  geometry 

7
Chơi golf giả!
Giới thiệu / Bối cảnh Trong một cuộc thảo luận gần đây trong cuộc trò chuyện về tiền điện tử, tôi đã được thử thách thảo luận / trợ giúp với bài kiểm tra tính nguyên thủy của Fermat và các số của Carmichael. Bài kiểm tra này dựa trên …
9 code-golf  math  sequence  number-theory  primes  code-golf  string  code-golf  math  combinatorics  permutations  restricted-complexity  code-golf  array-manipulation  code-golf  number  sequence  code-golf  number  sequence  code-golf  binary-matrix  code-golf  math  tips  javascript  algorithm  code-golf  string  code-golf  number  sequence  code-golf  math  arithmetic  parsing  code-golf  number  sequence  primes  code-golf  string  ascii-art  geometry  integer  code-golf  geometry  code-golf  number  array-manipulation  code-golf  math  geometry  code-golf  number  sequence  arithmetic  integer  code-golf  string  kolmogorov-complexity  code-golf  number  code-golf  number  chess  code-golf  sequence  decision-problem  subsequence  code-golf  math  number  primes  code-golf  primes  permutations  code-golf  integer  probability-theory  statistics  code-golf  string  code-golf  sequence  decision-problem  parsing  board-game  code-golf  binary  graph-theory  code-golf  board-game  classification  tic-tac-toe  code-golf  ascii-art  polyglot  code-golf  date  code-golf  geometry 

Khi sử dụng trang web của chúng tôi, bạn xác nhận rằng bạn đã đọc và hiểu Chính sách cookieChính sách bảo mật của chúng tôi.
Licensed under cc by-sa 3.0 with attribution required.