CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 23:28:40 GMT
content-type: text/html; charset=utf-8
cf-ray: 965fea18eb4475e9-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=32d4facf-cf6b-4f11-8835-64d4c301a94c; expires=Mon, 27 Jul 2026 23:28:40 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: 5f0f527d-656e-40d9-b75a-d08254c9305b
x-worker-origin-response-time: 518000000
x-dns-prefetch-control: off
set-cookie: prov=32d4facf-cf6b-4f11-8835-64d4c301a94c; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=PvvHiX3BBZJVV._kgVpHdQB5y_LLlMkbV5sIS8n8C4A-1753658920-1.0.1.1-fxORvGYJeOBczIvglXlZ9RJRqwwM_WdQ2AjXnm.69FZnq9dJxvngkJ6FBlXL0dA9YgLZ2RGSuPuVGqLamJPR_.t909OtUc0Ij6P.yEDaEgM; path=/; expires=Sun, 27-Jul-25 23:58:40 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=f0pXskK4L1JBckkb_305G7mdMvjjEN_SxebdtjIwtkg-1753658920358-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest 'number' 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 [number]
A competition to solve a particular problem through the usage and manipulation of numbers.
1,331 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
10
votes
6
answers
766
views
Optimal Assembly Jump Distance
In some forms of assembly, there are separate "short jump" and "long jump" instructions. However, these jumps can themselves have different lengths, which can affect the distance ...
-10
votes
2
answers
260
views
Fizz-Buzz-Bazz-Pazz
Fizz-Buzz-Bazz-Pazz
Problem Summary
Write a program that prints numbers from 1 to 100 with replacements based on the following ...
13
votes
12
answers
2k
views
Bespoke numbers
Introduction
Bespoke is an esoteric programming language I created in January 2025, where the commands are encoded into the lengths of words in the program. For example, ...
7
votes
8
answers
3k
views
The Oreo Problem: How to find the Excess
This problem is inspired from this childhood advertisement I remembered of while making biscuits with my checkers. Assume you got a black checker, and white checker on top of it, and another black ...
20
votes
28
answers
3k
views
Is the number sum of 3 squares?
Challenge
Write a program (function) that given a nonnegative integer input, output whether the number can be represented as the sum of 3 square numbers. That is, the program should, given nonnegative ...
22
votes
21
answers
4k
views
How much coffee is in my water?
Sometimes I'll put coffee in my usual water bottle. Even after I drink it and put water in it, I can still slightly taste coffee, since there's a few drops left. After a few refills, it fades, but I ...
7
votes
7
answers
443
views
15
votes
10
answers
728
views
Interval Placement
Given two intervals A and B, decide if A can be translated and placed into B. You can assume both given interval has some measure(or say length).
aka. Exist d, for all x in A, x+d is in B.
Both ...
11
votes
29
answers
2k
views
"Graphing" calculator
Kinda a short one, but yeah.
Y=MX+C is the equation we all learnt to represent a line... But can you Code Golf it?
Write a program that takes in a list in the ...
-1
votes
1
answer
153
views
Golomb's self-describing sequence problem [duplicate]
Inspired by this problem.
Golomb's self-describing sequence g(n) is a sequence where any natural number n is repeated within the sequence g(n) times.
Given an input of \$ n \$, output: $$ \left( \sum_{...
17
votes
10
answers
2k
views
Convert French spelled out numbers to integers
Given a string that is a number between 0 and 100 (included) spelled out in French, write a function (or a whole program) that outputs the corresponding integer.
List of all test cases :
...
7
votes
5
answers
799
views
Alien Weekends!
Alien Weekends!
I've crash-landed on another planet! Luckily, the alien society I landed in is almost identical to that of Earth's, except for their timekeeping. Their calendar doesn't use months, so ...
14
votes
13
answers
1k
views
Calculate the sum of numbers in a rectangle
Aim
Consider this infinite array of numbers:
...
29
votes
53
answers
2k
views
Cubic Concatenation
Challenge
Given three non-negative integers \$a, b\$ and \$c\$, decide if the sum of their cubes is equal to the concatenation of those numbers, aka:
$$
a^{3}+b^{3}+c^{3} = a^\frown b ^\frown c
$$
...
10
votes
10
answers
835
views
Factoriadic Fraction Addition
Objective
Given two rational numbers represented in fractional factoriadic as defined below, add them, and output the result in fractional factoriadic.
Fractional factoriadic
Fractional factoriadic is ...
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 × 1237
math × 304
sequence × 244
arithmetic × 152
integer × 118
string × 104
number-theory × 101
decision-problem × 97
array × 89
primes × 67
base-conversion × 55
code-challenge × 46
binary × 46
ascii-art × 35
combinatorics × 27
fibonacci × 24
random × 22
matrix × 21
rational-numbers × 20
restricted-source × 19
fastest-code × 18
permutations × 18
sorting × 18
counting × 17
more related tags
Hot Network Questions
- How can I turn the text in a PNG file back into text layer?
- Shared-Memory Queue Implementation in C
- Has the Silver Surfer's clothing (or lack thereof) ever been addressed in the comics?
- Source for Adam naming the angels
- \markup vertical spacing and order
- Is there any way to make lines in \rule have round corners?
- Why does Timor-Leste call itself a "Democratic Republic" despite little apparent Marxist-Leninist ideology?
- Meaning of 芭蕉 in Tang age
- Automatic drawing of polygon around selected polygons in QGIS
- When did the OEIS get even better?
- What does "enter the hold at arden" mean
- What is the Greek word for God used in Codex Sinaiticus? John 1
- Algebraic independence of even polynomials
- Are classified documents subject to a subpoena in discovery?
- how is it possible for a player to have crossed 2400 and secure 3+ IM norms to stay FM
- Does passive DisplayPort-HDMI adapter work with 4K 60Hz, if host supports DP 1.2 and HDMI 1.4?
- Shimano 105 ST 5500 compatible with a triple front derailleur
- If I buy spell components for a different price than the official one, does that change anything about how they work as a component?
- Forces applied to a car hood while driving
- “Unclear step in a math book for entertainment”
- Is there a name for the beat in drum and bass that is a distillation of the amen break
- How to avoid aligning the top of nested braces in cases environment?
- Math bolder than surrounding text in footnotes
- Sci-fi novel human-centered, with alien empire using stargates, humans try to avoid overruling