<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Devansh Kumar Tripathi</title>
    <link>https://devanshkt.in</link>
    <description>Mathematics student in Kota. Number theory, combinatorics, olympiad tests and handouts, and some essays.</description>
    <language>en</language>
    <item>
      <title>The Ethics of Algorithms</title>
      <link>https://devanshkt.in/writing/the-ethics-of-algorithms</link>
      <guid isPermaLink="true">https://devanshkt.in/writing/the-ethics-of-algorithms</guid>
      <category>Mathematics and society</category>
      <description>In 2016 a group of journalists looked at a computer program used in American courts. It gave each defendant a score for how likely they were to commit another crime. Judges could see the score. The journalists found that Black defendants who did not reoffend were wrongly marked high risk far more often than white defendants. The company replied that its scores were fair. A given score meant the same risk for everyone, whatever their race.

Both sides had checked their numbers. Both were right. That is the strange part.

They were using two different meanings of fair. The company meant calibration. If the program says 60 percent, then about 60 percent of those people should reoffend, in every group. The journalists meant equal mistakes. People who would not reoffend should be wrongly flagged at the same rate in each group.

Soon after, a few researchers proved something uncomfortable. You usually cannot have both. If two groups have different underlying rates, no score can be calibrated and also make the same mistakes for both groups. The only exceptions are a perfect predictor, or groups that are already identical. Neither happens in real life.

I like impossibility proofs, so my first reaction was almost happiness. It is a clean theorem. Then the second reaction came. Real people are on both sides of it.

What the theorem does is move the argument. Before it, people could say the program was just badly built. Fix the code and it becomes fair. After it, that is not true. Even a perfect engineer has to choose which kind of fairness to give up. That choice is not a maths question. It is a question about what we owe people.

Maths can tell you that the choice exists. It can tell you exactly what each option costs. It cannot make the choice. I think a lot of trust in algorithms comes from forgetting this. A number feels neutral. But the number came from a definition, and somebody picked the definition.

There is a version of this in places I know better. Exam cutoffs, scholarships, which school gets a new lab. Any rule that sorts people has a definition of fair hidden inside it. Usually nobody says which one.

I do not think the answer is to stop using models. Humans are biased too, and less consistent. The answer is to say out loud which definition you chose, and why. Then people can argue with the choice instead of the code.

What I keep coming back to is how short the proof is. A few lines of algebra settle an argument that people were having in courtrooms. That is the power of a theorem. It is also its limit. It tells you where the walls are. It does not tell you which room to live in.</description>
      
    </item>
    <item>
      <title>The Geometry of Gerrymandering</title>
      <link>https://devanshkt.in/writing/the-geometry-of-gerrymandering</link>
      <guid isPermaLink="true">https://devanshkt.in/writing/the-geometry-of-gerrymandering</guid>
      <category>Mathematics and society</category>
      <description>In 1812 the governor of Massachusetts, Elbridge Gerry, signed a map that gave his party a strangely shaped district. Someone said it looked like a salamander. A newspaper called it a Gerry-mander. The name stuck.

A small example makes it clear. Imagine 50 voters, 30 for party A and 20 for party B. You must split them into 5 districts of 10. Put 6 A voters and 4 B voters in every district and A wins all 5. Now put 6 B voters and 4 A voters in three districts, and the remaining voters in the other two. B wins 3. Same voters. Same votes. A completely different result.

So people tried to measure unfairness with maths. One idea is to look at shape. Compact districts are good and twisted ones are suspicious. But shape is a weak test. Rivers and cities make honest districts odd too.

A better idea counts wasted votes. A vote is wasted if it went to a loser, or if it was more than the winner needed. A fair map should waste roughly the same number of votes for each party. The difference is called the efficiency gap. It is easy to compute and easy to explain.

The newest idea uses computers. Generate thousands of random maps that follow all the legal rules. See how many seats each party wins in a typical one. Then look at the real map. If it sits far out at the edge of all those random maps, something deliberate probably happened.

I like this last method a lot. It does not ask what fair means in the abstract. It asks what normal looks like.

But there is a catch. Every method needs a baseline. Wasted votes assume seats should follow votes in a certain way. Random maps depend on which rules you give the computer. Keep counties whole or not? Protect communities or not? Each choice moves the baseline. Maths can measure distance from the baseline very precisely. It cannot choose the baseline.

In 2019 the US Supreme Court said federal courts would not decide partisan gerrymandering cases at all. One reason was that there is no clear standard for how much is too much. I think that is half right. The measuring is not the problem. The choosing is.

India does this differently. A Delimitation Commission draws the boundaries, not the ruling party. That removes one temptation. It does not remove the baseline question. Someone still decides what a fair district looks like.

What I take from this is that maths is very good at the second step and silent on the first. Tell it what fair means and it will tell you how far you are from it. Ask it what fair means and it hands the question back.</description>
      
    </item>
    <item>
      <title>Mathematical Literacy as a Civil Right</title>
      <link>https://devanshkt.in/writing/mathematical-literacy-as-a-civil-right</link>
      <guid isPermaLink="true">https://devanshkt.in/writing/mathematical-literacy-as-a-civil-right</guid>
      <category>Access and equity</category>
      <description>Bob Moses spent the early 1960s in Mississippi helping Black citizens register to vote. It was dangerous work. People were beaten for it, and some were killed.

Twenty years later he started teaching algebra. He said it was the same fight. In the 1960s the vote decided who got a say. Now, he argued, maths decided who got into good jobs and good colleges. If a whole group of children never learned algebra properly, they were shut out just as surely. He called mathematical literacy a civil right.

When I first read this I thought it was an exaggeration. Voting and algebra are not the same kind of thing. Nobody gets beaten for learning to factor a quadratic.

I still think the comparison has limits. But I changed my mind about the main point.

Algebra is a gate. In India it is very visible. Almost every entrance exam that leads to engineering, science or economics is mostly maths. A student who is weak in maths at fourteen loses whole paths before they are old enough to choose them. Usually this is not because they could not learn it. It is because nobody taught them well, or nobody expected them to.

I grew up in Korwa, a small town in Amethi. I was lucky. My parents cared about school, and I found books and the internet early. But I saw what Moses meant. Many students around me were not slow. They just never had a teacher who showed them maths was something you could get good at. By the time it mattered, the gap was too big.

Moses did something I respect. He did not just say the system was unfair. He built something. His Algebra Project started from things students already knew, like a trip on a train line, and turned them into ideas about numbers. It treated students as capable from the first day.

That is the part I think about with Olympiad Arena and with teaching. It is easy to make free material. It is much harder to make someone believe the material is for them.

So is maths a civil right? I am not a lawyer and I will not argue about the word. But I agree with the shape of it. If a skill decides who gets a say in the future, then keeping it from people is not neutral. It is a choice, even when nobody makes it on purpose.</description>
      
    </item>
    <item>
      <title>Why Olympiad Arena Exists</title>
      <link>https://devanshkt.in/writing/why-olympiad-arena-exists</link>
      <guid isPermaLink="true">https://devanshkt.in/writing/why-olympiad-arena-exists</guid>
      <category>Community and access</category>
      <description>Olympiad Arena started in January 2024 as a small group on Telegram. Two other students and I set it up. At first there were maybe fifty or a hundred of us. Now there are over 6,300. I run the problem side. That means writing and choosing most of what goes out, the mock tests, the problem sets and the discussion threads. It is free. Nobody gets paid.

I want to write about it honestly. The flattering version gets repeated a lot, sometimes by me.

First, what it does well. Good olympiad preparation used to need access. A coaching centre, a mentor who had already competed, money for books and camps. A free group removes a real part of that. A student in a small town with a phone gets the same problems as someone in a big city paying a lot. I have watched people in the group improve a lot with almost nothing else behind them. That is real, and I am proud of it.

Now what it does not do. It does not replace a teacher who knows you. Nobody in a group of thousands is going to read your proof line by line and show you exactly where it breaks. That kind of attention costs a person's time, and no group size changes that. It also does nothing for the cost of a camp once you qualify. Travel, fees, missed school. Free problems fix an information problem. They barely touch a money problem or a mentor problem, and those are often the harder ones.

There is a less comfortable point too. Free online groups probably help the students who need them least. To use something like ours, you need decent English, because most of it ends up in English. You need a reliable phone. You need free time, instead of working after school or helping at home. And you need to know the group exists and is worth joining. None of that is spread evenly. Removing the price does not remove those filters. It just hides them.

So a free community helps people who are already close to the door. It does much less for people far away from it. I think groups like ours should say this plainly. "Free and open to everyone" sounds like more than it is.

Why keep doing it then? Partly because helping people near the door is still worth something. Partly because I was one of those people. And partly because the group has changed me. Writing problems for thousands of students taught me more than solving them ever did. You find every hole in your own understanding when someone asks a question you cannot answer.

The next step, if there is one, is the harder kind of help. More Hindi. More explanations for people starting from zero. Maybe one day real feedback on proofs. I do not know if we can do it. But I would rather admit the gap than pretend it is not there.</description>
      
    </item>
    <item>
      <title>Who Gets to Do Maths?</title>
      <link>https://devanshkt.in/writing/who-gets-to-do-maths</link>
      <guid isPermaLink="true">https://devanshkt.in/writing/who-gets-to-do-maths</guid>
      <category>Access and equity</category>
      <description>2 + 2 is 4 no matter who is counting. Maths does not care who you are. But who was allowed to do maths is a different question. The history there is not neutral at all.

Sophie Germain grew up in Paris during the French Revolution. She wanted to study at the new École Polytechnique. Women were not allowed. So she got hold of the lecture notes and sent in work under the name of a former student, Antoine-Auguste Le Blanc. Lagrange read it and was impressed by this Le Blanc. When he found out who she really was, he helped her instead of turning away. She went on to do serious work on Fermat's Last Theorem. She never got a university position.

Emmy Noether was one of the best mathematicians of the twentieth century. In 1915 Hilbert and Klein invited her to Göttingen. Some professors objected to a woman teaching. For years her courses were listed under Hilbert's name, and for a long time she was barely paid. In 1933 the Nazis dismissed her because she was Jewish. She moved to America and died two years later.

Srinivasa Ramanujan had almost no formal training in advanced maths. He failed in college because he ignored every subject except maths. In 1913 he wrote to G. H. Hardy in Cambridge with pages of formulas. Hardy saw that some of them were extraordinary. Other mathematicians Ramanujan had written to ignored him. If Hardy had thrown the letter away, we might know nothing about him.

These stories are usually told as stories about talent winning. I think they are really about luck. Germain needed Lagrange to be decent. Noether needed Hilbert to fight for her. Ramanujan needed Hardy to open one letter. Each of them got through a gate that was almost shut. We remember them because they got through. We do not remember the people who did not.

That is the part that bothers me. For every Ramanujan there were surely others with the same ability and no Hardy. Their work just never happened. Nobody can count what was lost.

Things are better now. Women study maths everywhere. A student in a small Indian town can read papers online. But the gates have not disappeared. They have changed shape. Now they look like coaching fees, English, internet access, and teachers who either believe in you or do not.

I find it useful to keep two ideas apart. The truth of a theorem does not depend on who proves it. The list of who gets to try does depend on who you are. Mixing these up makes people think maths is already fair because its answers are fair. The answers are. The doorway is not.</description>
      
    </item>
    <item>
      <title>Is the Beauty of a Proof Real?</title>
      <link>https://devanshkt.in/writing/is-the-beauty-of-a-proof-real</link>
      <guid isPermaLink="true">https://devanshkt.in/writing/is-the-beauty-of-a-proof-real</guid>
      <category>Philosophy of mathematics</category>
      <description>Mathematicians call proofs beautiful all the time. I do too. But I am not sure what I mean.

Take Euclid's proof that there are infinitely many primes. Suppose there are only finitely many. Multiply them all together and add 1. This new number is not divisible by any prime on your list. So your list was missing something. That is the whole proof. It is more than two thousand years old, and people still call it beautiful.

Compare that with a proof that checks hundreds of cases by computer. Few people call that beautiful, even when it is correct.

So what is the difference? One answer is that beauty is a real property of the proof. Short, surprising, inevitable. G. H. Hardy believed something like this. He wrote that ugly mathematics has no lasting place in the world.

Another answer is that beauty is social. We learn from teachers what counts as elegant. A proof is beautiful because people in the field agree that it is, the way a fashion is agreed on.

I used to think it was obviously the first. Olympiads trained me to look for the clean solution. If my answer was ugly, I usually had not understood the problem yet. That felt like a fact about the problems, not about me.

But some evidence points the other way. Taste changes. A proof one generation finds elegant can look clumsy to the next, once better tools arrive. And people disagree. I have seen solutions I loved get called ugly by people I respect.

There is also an interesting experiment. In 2014 some researchers scanned mathematicians' brains while they looked at formulas they had rated as beautiful. The same brain area lit up that responds to beautiful music or art. That shows the feeling is real. It does not show what causes it.

Where I have ended up is somewhere in between. I think beauty in a proof tracks something real, and that something is understanding. A beautiful proof shows you why a thing is true, not just that it is. You finish it and the result feels unavoidable. An ugly proof leaves you convinced but not wiser.

If that is right, beauty is partly in the proof and partly in the reader. The same proof can be beautiful to someone who is ready for it and opaque to someone who is not. That is not purely social. It is not purely objective either.

I still use the word. I just try to say what I mean by it. When I call a proof beautiful now, I mean it taught me something I did not expect. That is a claim I can defend.</description>
      
    </item>
    <item>
      <title>Understanding a Theorem I Can't Prove</title>
      <link>https://devanshkt.in/writing/understanding-a-theorem-i-cant-prove</link>
      <guid isPermaLink="true">https://devanshkt.in/writing/understanding-a-theorem-i-cant-prove</guid>
      <category>Philosophy of mathematics</category>
      <description>There is a strange middle state in maths. You believe something. You can explain why it should be true. You use it to guess other things, and the guesses work. But you have no proof.

Is that understanding? Or just confidence?

Goldbach's conjecture says every even number bigger than 2 is a sum of two primes. Nobody has proved it. Computers have checked it up to 4 times 10 to the power 18. Almost every mathematician believes it.

But the belief is not only about the checking. There is a reason behind it. Near a number n, primes appear with a density of about 1 over log n. If you treat them as roughly random with that density, you can estimate how many ways a large even number should split into two primes. The estimate keeps growing as the numbers grow. So for Goldbach to fail, the primes would have to conspire, and there is no sign of a conspiracy. That reasoning is not a proof. But it is more than a pattern.

I have a small version of this in my own work. I have a pattern about power residues modulo primes that I cannot prove. When I first saw it, it was just numbers in a table. Over time that changed. I started to have a feeling for why it might happen. It stopped looking like a coincidence.

That felt different from just seeing the pattern. It felt like knowing something. But I could not write it down as a proof. So what did I know?

I think there are levels. At the bottom, you have seen it work. Above that, you have a reason it should work. Above that, you can predict new cases. At the top, you have a proof. Most of the interesting part of research happens in the middle levels. You are confident, but not certain.

The danger is that the middle levels can be wrong. Intuition built on small numbers can break later, and in maths later can be very far away.

So I do not think intuition should be trusted blindly. But I also do not think it is worthless until a proof arrives. It is real knowledge with a real error rate. Part of doing maths well is learning which of your unproven beliefs are the reliable kind.

There is one test I use now. If I understand something, I should be able to say what would break it. What would a counterexample need to look like? If I can describe that clearly, and explain why it seems impossible, then I understand more than I can prove. If I cannot, I probably just believe it.</description>
      
    </item>
    <item>
      <title>Olympiad Maths and Research Maths</title>
      <link>https://devanshkt.in/writing/olympiad-maths-and-research-maths</link>
      <guid isPermaLink="true">https://devanshkt.in/writing/olympiad-maths-and-research-maths</guid>
      <category>Mathematical practice</category>
      <description>For years olympiads were the only maths I knew outside school. Then I started doing research. I expected it to be like a very long olympiad problem. It is not.

An olympiad problem comes with a guarantee. Someone has solved it. The answer exists, and it fits in a few pages. It was chosen so that a strong student could solve it in about an hour. If you are stuck, the problem is not the problem. You are.

Research has no guarantee. The question might be false. It might be true but far too hard. It might already be solved in a paper you have not found. Being stuck tells you almost nothing. You do not know if you are close or nowhere.

Time is different too. In an olympiad you have three or four hours. In research you can spend a month on one idea and then throw it all away. That happens more often than anyone tells you.

The skills overlap, but less than I thought. Olympiads train you to find the trick fast. You learn the standard tools, and you learn to recognise which one a problem wants. That helps in research. But research mostly needs other things. Asking a good question. Computing small cases patiently. Reading what others have done. Writing down exactly what you know and nothing more.

The biggest difference for me is that in research you choose the problem. Nobody hands it to you. Choosing is half the work. A good problem is hard enough to be interesting and easy enough that you might make progress. Olympiads never teach this, because the problem is always given.

There is also no answer key. In an olympiad you finish and someone checks. In research you have to be your own checker. That is uncomfortable. Every time I think I have proved something, I spend days trying to break it. Often I do.

I do not think olympiads are worse. They taught me speed, stubbornness and a taste for clean arguments. Many research mathematicians did olympiads first. But I think it is a mistake to see research as olympiads made harder. It is a different activity that happens to use the same symbols.

If I had to put the change in one line, it would be this. In olympiads I was looking for the answer. In research I am mostly looking for the question.</description>
      
    </item>
    <item>
      <title>Gauss Sums as a Bridge</title>
      <link>https://devanshkt.in/writing/gauss-sums-as-a-bridge</link>
      <guid isPermaLink="true">https://devanshkt.in/writing/gauss-sums-as-a-bridge</guid>
      <category>Research notes</category>
      <description>The first time I met Gauss sums, they were a tool. You needed one to prove quadratic reciprocity, so you computed it and moved on.

Here is what one is. Take an odd prime p. For each number a from 1 to p − 1, write +1 if a is a square mod p and −1 if it is not. Multiply each sign by the complex number e to the power 2πia/p, which is a p-th root of unity. Add everything up. That sum is the Gauss sum g.

Something surprising happens when you square it. You get p or −p, depending on whether p leaves remainder 1 or 3 when divided by 4. A sum of p − 1 complex numbers pointing in all directions collapses to something that simple.

Knowing g squared tells you g up to a sign. Finding the sign is much harder. Gauss himself worked on it for about four years before he got it.

For a while that was all Gauss sums were to me. Then I started working on power residues. I was looking at cubes and fourth powers mod p, not just squares. And the same kind of sum kept showing up. To count solutions of equations mod p, you build these sums. To measure how residues of different orders interact, you build these sums. Their size is always around the square root of p. Every time I got stuck, the way forward went through one of them.

That is when they stopped feeling like a tool. A tool is something you pick up for one job. These were more like a road that many different places connect to.

I also understood something about reciprocity that I had missed. I spent a long time on Eisenstein's lattice proof of quadratic reciprocity. It counts lattice points in a triangle, and it is the clearest proof I know. For a long time I could follow every line and still not see why it worked. Gauss sums gave me a second view of the same result. With both side by side, I finally felt I understood it.

Later I tried to see why the lattice idea does not extend to higher powers. The geometry runs out. Cubic and quartic reciprocity live in rings where a flat picture still exists. Beyond that it does not. But Gauss sums and their relatives, Jacobi sums, keep working. They go where the pictures cannot.

So now I think of them as a bridge. On one side are questions about which numbers are squares or cubes. On the other side are sums of complex numbers, which you can measure and estimate. The bridge lets you carry a hard counting problem over to the side where you can actually do something with it.

I am still near the start of understanding them. But I know now that when a problem about residues gets hard, the first thing to try is building the right sum.</description>
      
    </item>
    <item>
      <title>What PROMYS Did to How I Think</title>
      <link>https://devanshkt.in/writing/what-promys-did-to-how-i-think</link>
      <guid isPermaLink="true">https://devanshkt.in/writing/what-promys-did-to-how-i-think</guid>
      <category>Mathematical practice</category>
      <description>In 2024 I spent six weeks at PROMYS India at IISc Bangalore. People ask what I learned there. The honest answer is not a theorem. I could look most of the results up again. What changed was how I deal with being wrong.

It started with a type of problem I had never seen. You were given a statement. The task was not to prove it. It was to decide whether it was true. If it was true, prove it. If it was false, show why, then find the smallest change that makes it true, and prove that instead.

This sounds like a small twist. It is not. A normal proof problem has one outcome, and your job is to find the path to it. This kind had three possible outcomes, and you did not know which one until you had done the work. Olympiad habits did not help much. I could not guess the type of problem and pick a technique, because the right answer might be "almost true, with one more condition".

Before PROMYS, when I found that a statement was false, I moved on. Wrong claim, next question. After PROMYS, a false statement became interesting. What is the true thing hiding inside it? Being wrong stopped being a dead end. It became a place to start.

The second thing was a rule. You could only use what had been established. Not what felt obvious. Not what you remembered from another class. If it had not been proved in front of you, using it counted as a gap.

I found this frustrating in a way I had not felt about maths before. There were facts I had used a hundred times in olympiads. I knew they were true. But I still had to prove them from scratch, or leave a hole in my solution. At the time this felt slow and almost silly.

It took me months to see why it mattered. Later, in my own research, I had patterns I was fairly sure of and could not prove. The PROMYS rule told me what to do. Write down exactly what I could establish. Label the rest as unproven. Do not let a feeling sneak into the argument as a fact. That rule has probably saved me from a few false theorems.

When I write problems for Olympiad Arena now, I notice I keep writing them in that same shape. A statement. Decide if it is true. If it is not, save what you can. I did not plan it. It had just become the shape I reach for.

Some programmes teach you results. PROMYS taught me a way of handling uncertainty. Write down what you actually have. Distrust what you are assuming. Treat a wrong idea as information. Do not take the next step until the ground under this one is solid.

I still slip. In a timed exam I take shortcuts, and I should. But when I am trying to find out what is actually true, I go back to that rule. It is the most useful thing anyone has taught me.</description>
      
    </item>
  </channel>
</rss>
