CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 20:45:32 GMT
content-type: text/html; charset=utf-8
cf-ray: 965efb208c171ec2-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=f66f1bc4-f205-4a1f-b2c9-2b0685bdf9fe; expires=Mon, 27 Jul 2026 20:45:31 GMT; domain=.stackexchange.com; path=/; secure; httponly
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-clacks-overhead: GNU Terry Pratchett
x-frame-options: SAMEORIGIN
x-request-guid: f7e7e6f3-c772-473c-ba3d-be0a098853de
x-worker-origin-response-time: 424000000
x-dns-prefetch-control: off
set-cookie: prov=f66f1bc4-f205-4a1f-b2c9-2b0685bdf9fe; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=IW4v8_0QxAKpRuLP33VJoYU4i78n0kLMQ3u7x5rl9WQ-1753649132-1.0.1.1-j0ahizUdDd1tamB.mDDj8LhxNPLfLoy9FkggMjMmZ8Wn_mtJLk619VNt5xufHi0ny2pcsMGNnGabti4Lr48Cqp5G1ylkHy.0x0R0Z4hYT.o; path=/; expires=Sun, 27-Jul-25 21:15:32 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=vF92iOZ_5GSK78HOoLuSfA8VxO9b4MaeVTV_vQ0xcFo-1753649132041-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest 'sequence' Questions - Code Golf Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsQuestions tagged [sequence]
For challenges involving sequences, typically of numbers following some pattern.
975 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-5
votes
4
answers
151
views
Locate \r\n\r\n in a HTTP/1.1 POST request
Given an HTTP/1.1 POST request represented as a buffer (e.g., Uint8Array; uint8_t) of bytes, ...
9
votes
4
answers
510
views
Triangular Transposition Cipher
A text that can be arranged triangularly in some fashion can be read back in some other fashion effectively enciphering it.
Narrowing down a set of plausible triangular numberings allows to ...
9
votes
2
answers
286
views
Putting the pieces together
In this code-golf challenge, you will count the number of ways of putting together pieces of a building toy which consists of slotted squares that interlock with one another, shown below. In ...
16
votes
17
answers
1k
views
Output the Echo Numbers
Echo numbers (A383896) are positive integers k such that the largest prime factor of k-1 is a suffix of ...
13
votes
17
answers
2k
views
Is it a product of 4 unique primes (A046386)?
A046386 is the sequence of all natural numbers that are the product of exactly 4 distinct primes.
Write the shortest program, function, or code snippet, that, when given a natural number, outputs ...
8
votes
1
answer
328
views
Ruler-and-compass constructions
In this code-golf challenge, you will work with a construction that was used by the ancient Greeks: the straightedge-and-compass construction. In particular, you will count how many different ...
9
votes
15
answers
1k
views
A121016: Numbers whose binary expansion is properly periodic. or A328594: Numbers whose binary expansion is aperiodic
I have been studying how to compress the Dis programs into their equvalent ones. One of the possibly easiest subset is programs with only } and ...
16
votes
17
answers
1k
views
Counting Gessel walks
OEIS A135404 gives the number of Gessel walks \$g(n)\$ of length \$2n\$. A Gessel walk is
a walk on the square lattice starting and ending at the origin
with possible steps (1,0), (-1,0), (1,1), (-1,-...
16
votes
12
answers
922
views
Repetition-restricted strings
Given an alphabet size, \$n>0\$, and an occurrence limit, \$k>0\$, produce the number, \$a(n, k)\$, of strings that may be constructed from the \$n\$ letters in the alphabet which have no more ...
17
votes
20
answers
2k
views
Number of legal positions in 1D go
A 1D go position on a board of size n is a sequence of length n consisting of the numbers0, <...
15
votes
9
answers
1k
views
How many chains?
Given a positive integer \$n\$, a partition of \$n\$ is an ascending sequence of numbers that sum to \$n\$.
Given two partitions \$a\$ and \$b\$, \$a\$ is a refinement of \$b\$ iff \$b\$ can be ...
13
votes
13
answers
2k
views
Meandering over ℤ
The easiest way to understand this task is to look at this
graph,
which you can change interactively.
It defines a sequence n -> a(n) like this:
a(0) = 0; thereafter a(n) is the least integer (in ...
14
votes
11
answers
967
views
Counting Rota-Baxter words
A Rota-Baxter word, \$w\$, is a string made of the symbols a, (, and ) such that the ...
7
votes
7
answers
443
views
2
votes
11
answers
752
views
Climbing through the mountains on all paths
Narrative
We are standing at the foot of a mountain. To find the best route when climbing the mountain, let's consider all possible routes.
On our route, there is no point lower than our starting ...
Welcome to Code Golf and Coding Challenges Stack Exchange! This is a site for recreational programming competitions, not general programming questions. Challenges must have an objective scoring criterion, and it is highly recommended to first post proposed challenges in the Sandbox.
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related Tags
code-golf × 899
math × 247
number × 244
number-theory × 119
integer × 94
combinatorics × 83
primes × 76
arithmetic × 60
fibonacci × 48
binary × 41
string × 38
subsequence × 32
code-challenge × 30
cops-and-robbers × 30
decision-problem × 29
base-conversion × 28
array × 25
fastest-code × 24
permutations × 22
geometry × 22
grid × 16
open-ended-function × 16
palindrome × 14
rational-numbers × 13
more related tags
Hot Network Questions
- Calculus Books Recommendation
- I don't understand Photos Library.photoslibrary
- What does "enter the hold at arden" mean
- Blinded despite Blindsight?
- Why is time reversal not a natural part of the Galilean group?
- Testing Hypotheses with Limited Data in an Ecological Experiment. How do I approach my data?
- Translation of "mode"
- Forces applied to a car hood while driving
- Why does Timor-Leste call itself a "Democratic Republic" despite little apparent Marxist-Leninist ideology?
- Automatic drawing of polygon around selected polygons in QGIS
- Class for validating code in different Conda environments with PyTorch
- The puzzle of chess pieces beating one another in “rock—paper—scissors” way
- When did the OEIS get even better?
- Sci-fi novel human-centered, with alien empire using stargates, humans try to avoid overruling
- How to make that the object sliding down along the local axis while following the rotation of the another object?
- What Isp can be gotten from a napthalene (mothball) hot gas thruster? Did it work in space?
- Is this a violation of open source?
- When was thermal expansion in solids first described?
- “Unclear step in a math book for entertainment”
- Easy ways to draw vector diagrams in TikZ?
- How to navigate in the Universe's Heat Death
- Extensions of diagonalizable, respectively multiplicative-type, groups
- When was the last time all humans were on the ground not in the air?
- Not being introduced to the team – should I ask for it?