Viktor Futó · Stay human
banner
optimista.bsky.social
Viktor Futó · Stay human
@optimista.bsky.social
Spatially written math & proofs with LaTeX - brainec.com
Alumni: University of Coimbra · Charles University in Prague
Pinned
Hello maths/physics community at bluesky 👋🏻

My name is Viktor, and having been frustrated by the countless hours I spent studying and deciphering math from long, linear, exhausting paragraphs of text, I am now pioneering spatial writing to make studying and reading much friendlier for our brains.
Reposted by Viktor Futó · Stay human
A spatial story that you write on Brainec can be exported as a single .html file and opened in any web browser.

If there are no images, only math expressions and text, it runs fully offline.

Image embedding for offline use is in development.
November 17, 2025 at 2:55 PM
One recurring theme as I speak with professors is how AI is completely eroding the studying process, verification of assignments, the understanding of concepts.

Linear text is infected with AI, but spatial text forces the author to write and to understand what they are writing.
Adivina qué campus visité ayer!
Guess which campus did I visit yesterday!
November 6, 2025 at 1:26 PM
Adivina qué campus visité ayer!
Guess which campus did I visit yesterday!
November 5, 2025 at 12:49 PM
A creator just brought their Brainec story to TikTok for the first time 🥲
October 21, 2025 at 1:35 PM
Hello to Australian academics who followed back 👋🏻 Recently got curious about PhD opportunities in 🇦🇺 and simply followed the list curated by Dr. Canonne.

I've been working on this interdisciplinary vision of spatial writing that intertwines interaction design, comp. sci., cognitive science... ↓
October 20, 2025 at 3:33 PM
𝐌𝐞𝐫𝐭𝐞𝐧𝐬' 𝐒𝐞𝐜𝐨𝐧𝐝 𝐓𝐡𝐞𝐨𝐫𝐞𝐦
In 1737 Euler showed that Σ 1/𝑝 diverges.
In 1874 Mertens’ Second Theorem estimated how quickly.
The growth is very slow: log log 𝑥.

For 𝑥 ∈ ℝ, 𝑝 prime and 𝑥 ≥ 2:
Σₚ≤𝑥 1/𝑝 = log log 𝑥 + 𝑀 + O(1/log 𝑥)

Meissel-Mertens constant
𝑀 ≈ 0.26149721…

#Math #NumberTheory
October 17, 2025 at 12:36 PM
𝐄𝐮𝐥𝐞𝐫'𝐬 𝐓𝐨𝐭𝐢𝐞𝐧𝐭 𝐅𝐮𝐧𝐜𝐭𝐢𝐨𝐧
φ(𝑛) = how many positive integers ≤ than 𝑛 are relatively prime to 𝑛
φ(𝑛) = |{ 𝑘 ∈ ℕ : 𝑘 ≤ 𝑛, gcd(𝑘,𝑛)=1 }|

𝑟𝑒𝑙𝑎𝑡𝑖𝑣𝑒𝑙𝑦 𝑝𝑟𝑖𝑚𝑒 ≡ 𝑐𝑜𝑝𝑟𝑖𝑚𝑒 ≡ gcd(𝑎,𝑏)=1

𝑬𝒙𝒂𝒎𝒑𝒍𝒆:
φ(9) = 6
{1,2,4,5,7,8}

#math #NumberTheory
October 16, 2025 at 12:20 PM
𝐌𝐞𝐫𝐭𝐞𝐧𝐬' 𝐓𝐡𝐢𝐫𝐝 𝐓𝐡𝐞𝐨𝐫𝐞𝐦
Precursor of the Prime Number Theorem

For 𝑥 ∈ ℝ and 𝑥 ≥ 2:
∏ₚ≤𝑥 (1 − 1/𝑝) = e⁻ᵞ(1+o(1))/ln𝑥

Euler–Mascheroni constant
γ ≈ 0.57721566…

#math #NumberTheory
October 14, 2025 at 12:23 PM
𝐌𝐞𝐫𝐜𝐚𝐭𝐨𝐫 𝐒𝐞𝐫𝐢𝐞𝐬
Also called = Taylor/Maclaurin expansion of ln(1+𝑥)

If |𝑥|<1 then:
ln(1+𝑥) = Σₙ₌₁ (−1)ⁿ⁺¹ 𝑥ⁿ/𝑛
ln(1+𝑥) = 𝑥 − 𝑥²⁄2 + 𝑥³⁄3 − 𝑥⁴⁄4 + …

#mathematics #RealAnalysis
October 13, 2025 at 1:09 PM
𝐄𝐮𝐥𝐞𝐫 𝐏𝐫𝐨𝐝𝐮𝐜𝐭 𝐟𝐨𝐫 𝐃𝐢𝐫𝐢𝐜𝐡𝐥𝐞𝐭 𝐒𝐞𝐫𝐢𝐞𝐬
Core identity in analytic number theory linking Dirichlet series to primes

If 𝑓 is multiplicative & series converges absolutely at 𝑠:
∑ₙ 𝑓(𝑛)/𝑛ˢ = ∏ₚ ( ∑ₖ 𝑓(𝑝ᵏ)/𝑝ᵏˢ )

“sum over all integers” = “product over primes” (one sum per prime)

#mathematics #NumberTheory
October 10, 2025 at 1:04 PM
𝐀𝐛𝐞𝐥’𝐬 𝐒𝐮𝐦𝐦𝐚𝐭𝐢𝐨𝐧 𝐅𝐨𝐫𝐦𝐮𝐥𝐚 | #NumberTheory
shows how a weighted sum (by 𝑓) can be expressed using cumulative sum (𝐴(𝑥)) and the way function 𝑓 changes

If 𝑓:[1,𝑁]⟼ℂ continuously differentiable & 𝐴(𝑥) = Σₙ≤𝑥 𝑎ₙ:
Σₙ₌₁ᴺ 𝑎ₙ 𝑓(𝑛) = 𝐴(𝑁) 𝑓(𝑁) − ∫₁ᴺ 𝐴(𝑥) 𝑓′(𝑥) d𝑥

Used for: ↓
October 9, 2025 at 12:46 PM
𝐌𝐮𝐥𝐭𝐢𝐩𝐥𝐢𝐜𝐚𝐭𝐢𝐯𝐞 𝐈𝐧𝐝𝐢𝐜𝐚𝐭𝐨𝐫 𝐅𝐮𝐧𝐜𝐭𝐢𝐨𝐧
𝑖𝑛𝑑𝑖𝑐𝑎𝑡𝑜𝑟 - returns either 0 or 1
𝑎𝑟𝑖𝑡ℎ𝑚𝑒𝑡𝑖𝑐 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 - its arguments are natural numbers
𝑚𝑢𝑙𝑡𝑖𝑝𝑙𝑖𝑐𝑎𝑡𝑖𝑣𝑒 - arithmetic function for which:

𝑓(1) = 1
gcd(𝑎,𝑏) = 1 ⇒ 𝑓(𝑎𝑏) = 𝑓(𝑎)𝑓(𝑏)
October 7, 2025 at 12:41 PM
𝐌𝐨𝐝𝐮𝐥𝐚𝐫 𝐈𝐧𝐯𝐞𝐫𝐬𝐞
(= “modular multiplicative inverse”)

Let 𝑎 ∈ ℤ and 𝑥 ∈ ℤ₊ with gcd(𝑎,𝑥) = 1.

Modular inverse of 𝑎 modulo 𝑥 is each 𝑏 for which:
𝑎𝑏 ≡ 1 (mod 𝑥)

𝑭𝒐𝒓 𝒆𝒙𝒂𝒎𝒑𝒍𝒆:
Modular inverses of 3 mod 7 are 5,12,19,26,...
𝑁𝑜𝑡𝑖𝑐𝑒: All inverses differ by 𝑥 (here 𝑥 = 7).

#numbertheory
October 6, 2025 at 12:14 PM
𝐃𝐢𝐫𝐢𝐜𝐡𝐥𝐞𝐭’𝐬 𝐓𝐡𝐞𝐨𝐫𝐞𝐦 𝐨𝐧 𝐀𝐫𝐢𝐭𝐡𝐦𝐞𝐭𝐢𝐜 𝐏𝐫𝐨𝐠𝐫𝐞𝐬𝐬𝐢𝐨𝐧𝐬
Let 𝑎,𝑏 be positive integers with gcd(𝑎,𝑏)=1.

⇒ "There are infinitely many primes 𝑝 such that 𝑝 ≡ 𝑎 (mod 𝑏)."

𝑬𝒙𝒂𝒎𝒑𝒍𝒆:
For gcd(2,5) = 1, there are infinitely many primes 𝑝 ≡ 2 (mod 5): 2, 7, 17, 37, 47, 67, 97, 107,…
October 3, 2025 at 12:52 PM
𝐃𝐞𝐧𝐬𝐢𝐭𝐲 𝐋𝐞𝐦𝐦𝐚 𝟒.𝟒. (𝐃.𝐋.)
Let 𝐴,𝐵,𝐶 be positive integers with gcd(𝐴,𝐵)=1.
Define 𝑙(𝑥,𝑦) = 𝐴𝑥𝑦 + 𝐵𝑥 + 𝐶𝑦

⇒ "The values of 𝑙(𝑥,𝑦) are a density-one subset of the positive integers."

Leads to proof of Density-one version of the Davis–Lelièvre conjecture.
October 2, 2025 at 12:53 PM
𝐃𝐞𝐧𝐬𝐢𝐭𝐲-𝐨𝐧𝐞 𝐃𝐚𝐯𝐢𝐬–𝐋𝐞𝐥𝐢𝐞̀𝐯𝐫𝐞
“Davis–Lelièvre Conjecture is true/1 in density”

𝐷𝑎𝑣𝑖𝑠–𝐿𝑒𝑙𝑖𝑒̀𝑣𝑟𝑒 𝐶𝑜𝑛𝑗𝑒𝑐𝑡𝑢𝑟𝑒 – see previous post
𝑡𝑟𝑢𝑒 𝑖𝑛 𝑑𝑒𝑛𝑠𝑖𝑡𝑦 – the ratio of even integers where the conjecture holds to all even integers converges → 1

...
September 30, 2025 at 1:50 PM
Experimenting with a spatial, interactive format for writing theorems and proofs (uses LaTeX). Are lecture notes still commonly written at universities? Could this work as expository notes? #mathed
𝐅𝐮𝐧𝐝𝐚𝐦𝐞𝐧𝐭𝐚𝐥 𝐋𝐞𝐦𝐦𝐚 𝐨𝐟 𝐕𝐚𝐫𝐢𝐚𝐭𝐢𝐨𝐧𝐚𝐥 𝐂𝐚𝐥𝐜𝐮𝐥𝐮𝐬
In variational calculus, when we search for an extremum of a functional, we often end up with an integral of the form:

∫ 𝑓(x) φ(x) dx = 0

If 𝑓 is locally integrable & φ is “nice” function
*[nice = smooth, compact support]...
September 29, 2025 at 4:55 PM
𝐃𝐚𝐯𝐢𝐬-𝐋𝐞𝐥𝐢𝐞̀𝐯𝐫𝐞 𝐂𝐨𝐧𝐣𝐞𝐜𝐭𝐮𝐫𝐞
"Every positive even integer except 2,12,14 and 18 occurs."

𝑜𝑐𝑐𝑢𝑟𝑠 - ∃ an asymmetric closed billiard trajectory on the regular pentagon whose combinatorial period length equals that integer
September 29, 2025 at 2:33 PM
The variational/vector calculus series ends. Starting tomorrow it'll be number theory. I'll be sharing a couple of notions used in the proof of Lemma 4.4. [1], a key step toward proving the density-one version of the Davis–Lelièvre conjecture.

Lemma 4.4.: www.brainec.com/s/PCIEHHEEPE...
Density-one Lemma 4.4. (Davis–Lelièvre)
[Kontorovich, Alex; and Zhang, Xin (2024). On the Local-Global Conjecture for Combinatorial Period Lengths of Closed Billiards on the Regular Pentagon. arXiv preprint arXiv:2409.10682. See p. 8. Avail...
www.brainec.com
September 28, 2025 at 2:45 PM
𝐅𝐮𝐧𝐝𝐚𝐦𝐞𝐧𝐭𝐚𝐥 𝐋𝐞𝐦𝐦𝐚 𝐨𝐟 𝐕𝐚𝐫𝐢𝐚𝐭𝐢𝐨𝐧𝐚𝐥 𝐂𝐚𝐥𝐜𝐮𝐥𝐮𝐬
In variational calculus, when we search for an extremum of a functional, we often end up with an integral of the form:

∫ 𝑓(x) φ(x) dx = 0

If 𝑓 is locally integrable & φ is “nice” function
*[nice = smooth, compact support]...
September 26, 2025 at 2:09 PM
𝐃𝐢𝐯𝐞𝐫𝐠𝐞𝐧𝐜𝐞 𝐓𝐡𝐞𝐨𝐫𝐞𝐦
“The sum of all flows inside a volume equals the sum of flows across its boundary.”

Cut any shape into two parts. The net flow across the cut from one side is the opposite of the other, so they cancel. The boundary sum remains the same. #math
September 23, 2025 at 1:50 PM
𝐃𝐢𝐯𝐞𝐫𝐠𝐞𝐧𝐜𝐞 𝐏𝐫𝐨𝐝𝐮𝐜𝐭 𝐑𝐮𝐥𝐞
multivariable analogue to ordinary product rule

d(𝑓𝑔)/dx = (d𝑓/dx)𝑔 + 𝑓(d𝑔/dx)
∇⋅(𝜙𝐅) = (∇𝜙)⋅𝐅 + 𝜙(∇⋅𝐅)

𝐃𝐞𝐫𝐢𝐯𝐚𝐭𝐢𝐯𝐞 𝐨𝐩𝐞𝐫𝐚𝐭𝐨𝐫𝐬
d/dx - one-variable | ∇ - multivariable
e.g. ∇ = (∂/∂x​,∂/∂y​,∂/∂z​) [3 variables]
September 19, 2025 at 3:11 PM
Gateaux Derivative
– generalizes the derivative to functionals

Ordinary derivative → 𝑓(𝑥+ℎ)
Functional derivative → 𝑓(𝑢+𝜖𝜙)

𝜙 - test function
𝜖𝜙 - perturbation (𝜖 → 0)

If 𝑢,𝜙 = functions & 𝓕 = functional
⇒ Gateaux derivative = Functional derivative

Gateaux ⊃ Functional ⊃ Ordinary
September 18, 2025 at 2:32 PM
On Euclidean spaces Ω
✓ minimizing movements are easy to approximate
On a curved surface 𝑆
✗ difficult—surface-only point interactions require a mesh

👉 We use *Closest Point Method*

For each point on 𝑆 take its normal vector. Assign to each point 𝒙 ∉ 𝑆 on the normal the same value as at its...
September 16, 2025 at 2:50 PM
Minimizing movements
- a variational method for approximating the gradient flow by iteratively minimizing functionals 𝓕ₙ
- 𝑛 marks 𝑛-th time step in the evolution of the field 𝑢
- at each 𝑛-th time step, we find the next such 𝑢, for which 𝓕ₙ₊₁(𝑢) returns the lowest value. We call such 𝑢 minimizer
September 15, 2025 at 2:14 PM