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.

11
Đa thức Cyclotomic
Bối cảnh (bỏ qua các định nghĩa) Euler đã chứng minh một định lý đẹp về các số phức: e ix = cos (x) + i sin (x). Điều này làm cho định lý của de Moivre dễ dàng chứng minh: (e ix ) n = e i (nx) (cos …


30
Yếu tố biến mất
Đưa ra một chuỗi Svà một danh sách các chỉ mục X, sửa đổi Sbằng cách loại bỏ phần tử tại mỗi chỉ mục Strong khi sử dụng kết quả đó làm giá trị mới của S. Ví dụ, được đưa ra S = 'codegolf'và X = [1, 4, 4, …
17 code-golf  string  array-manipulation  code-golf  string  ascii-art  code-golf  number  sequence  pi  code-golf  number  array-manipulation  code-golf  string  ascii-art  code-golf  math  number  game  code-golf  math  sequence  polynomials  recursion  code-golf  math  number  sequence  number-theory  code-golf  permutations  balanced-string  code-golf  string  ascii-art  integer  code-golf  decision-problem  hexagonal-grid  code-golf  ascii-art  kolmogorov-complexity  code-golf  number  code-golf  matrix  binary-matrix  code-golf  math  statistics  code-golf  string  polyglot  code-golf  random  lost  code-golf  date  path-finding  code-golf  string  code-golf  math  number  arithmetic  number-theory  code-golf  tetris  binary-matrix  code-golf  array-manipulation  sorting  code-golf  number  code-golf  array-manipulation  rubiks-cube  cubically  code-golf  grid  optimization  code-golf  math  function  code-golf  string  quine  code-golf  ascii-art  grid  code-golf  decision-problem  grid  simulation  code-golf  math  sequence  code-golf  path-finding  code-golf  ascii-art  grid  simulation  code-golf  number  whitespace  code-golf  sequence  code-golf  sequence  code-golf  sequence  integer  code-golf  math  game  code-golf  internet  stack-exchange-api  code-golf  sequence  code-golf  internet  stack-exchange-api  code-golf  math  factoring  code-challenge  sequence  polyglot  rosetta-stone  code-golf  string  browser  code-golf  date  code-golf  base-conversion  code-challenge  cops-and-robbers  hello-world  code-golf  cops-and-robbers  hello-world 


12
Chia sẻ bí mật của Shamir
Cho n(số lượng người chơi), t(giá trị ngưỡng) và s(bí mật), xuất ra các nbí mật được tạo bởi thuật toán Chia sẻ bí mật của Shamir . Thuật toán Đối với mục đích của thử thách này, việc tính toán sẽ được thực hiện trong GF (251) (trường hữu …
17 code-golf  number-theory  random  cryptography  polynomials  code-golf  number  code-golf  math  number  sequence  code-golf  quine  code-generation  code-golf  arithmetic  set-theory  code-golf  sequence  code-golf  code-golf  string  math  fastest-code  optimization  code-golf  code-golf  internet  stack-exchange-api  code-golf  array-manipulation  code-golf  string  internet  string  code-challenge  internet  test-battery  code-golf  math  pi  code-golf  arithmetic  primes  code-golf  array-manipulation  code-golf  string  code-golf  string  palindrome  code-golf  sequence  number-theory  fastest-algorithm  code-golf  math  number  base-conversion  code-golf  number-theory  sorting  subsequence  search  code-golf  permutations  code-challenge  popularity-contest  code-generation 


3
Tìm mẫu trong chuỗi
Trong trường hợp này, nhiệm vụ của bạn là xác định vị trí các chuỗi con với một cấu trúc nhất định. Đầu vào Đầu vào của bạn phải là hai chuỗi chữ và số không trống, một mẫu p và một văn bản t . Ý tưởng là mỗi …
17 code-golf  string  code-golf  ascii-art  geometry  code-golf  ascii-art  code-golf  sequence  stack  code-challenge  number  sequence  answer-chaining  code-golf  code-challenge  math  combinatorics  binary-matrix  code-golf  number  code-golf  cryptography  bitwise  code-golf  sudoku  code-golf  brainfuck  metagolf  code-golf  probability-theory  number-theory  primes  fewest-operations  factoring  golf-cpu  code-golf  restricted-source  code-golf  graphical-output  sequence  binary  code-golf  tips  c#  code-golf  geometry  code-golf  graphical-output  fractal  code-golf  number  sequence  code-golf  number  array-manipulation  popularity-contest  game  board-game  code-golf  puzzle-solver  grid  code-golf  ascii-art  geometry  grid  tiling  code-golf  ascii-art  whitespace  balanced-string  code-golf  card-games  king-of-the-hill  javascript  code-golf  whitespace  balanced-string  code-golf  code-golf  math  abstract-algebra  code-golf  java  code-golf  interpreter  stack  code-golf  base-conversion  code-golf  tips  code-golf  ascii-art  geometry  brainfuck  metagolf  code-challenge  math  quine  code-generation  code-golf  number  kolmogorov-complexity  arithmetic  expression-building  code-golf  string  code-golf  quine  popularity-contest  code-golf  base-conversion  code-challenge  image-processing  code-golf  conversion  coding-theory 

10
Ma trận tăng dần
"Ma trận tăng dần" là một ma trận vô hạn gồm toàn bộ số (bao gồm 0) trong đó bất kỳ phần tử nào là phần tử có sẵn nhỏ nhất chưa được sử dụng trước đây trên hàng và cột tương ứng: | 1 2 3 4 5 6 …
17 code-golf  math  matrix  programming-puzzle  code-golf  music  code-challenge  programming-puzzle  code-golf  fastest-code  code-golf  number  game  code-golf  combinatorics  code-golf  math  sequence  restricted-complexity  code-golf  number  random  code-golf  array-manipulation  code-golf  math  matrix  code-golf  number  sequence  counting  code-golf  math  number  sequence  popularity-contest  number  sequence  code-golf  music  code-golf  number  code-golf  ascii-art  arithmetic  code-golf  code-golf  number  code-golf  code-challenge  array-manipulation  code-golf  grammars  code-challenge  polyglot  code-golf  game  math  python  programming-puzzle  code-challenge  king-of-the-hill  code-challenge  fastest-code  primes  number-theory  number-theory  primes  fastest-code  factoring  popularity-contest  compile-time  code-golf  math 

8
Mật độ số chữ số
Mật độ chữ số số vuông (SNDD) của một số - do tôi tự phát minh - là tỷ lệ của số lượng các số vuông được tìm thấy trong các chữ số liên tiếp với độ dài của số. Chẳng hạn, 169 là một số có 3 chữ số …




13
Bộ ba Trithagore
Một Pythagore Triple là một giải pháp số nguyên dương cho phương trình: Bộ ba Trithagore là một giải pháp số nguyên dương cho phương trình: Trong đó Δn tìm thấy số tam giác thứ n . Tất cả các bộ ba Trithagore cũng là giải pháp cho phương trình: …

7
Một 1, Hai 1, Một 2 Một 1
Thử thách: Tạo một chương trình lấy đầu vào của một số nguyên khác không dương và xuất 4 số tiếp theo trong chuỗi được mô tả dưới đây. Lưu ý: Kiểm tra xem đầu vào có thực sự là số nguyên khác không dương không Sự nối tiếp: Mỗi …


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.