skyspace3.0 thoughts

[06-21-24]

I am still not sure how / to what extent I want to move from skyspace2.0 to skyspace3.0 (/personal wiki/ whatever the other site is). Do you have thoughts?

the end

[06-03-24]

property testing "Direct Sum Testing"

[05-20-24]

Suppose you had a function that was a direct product. Could you tell? Yup.

Graph Pattern Polynomials

[05-14-24]

I write some notes about an article by Markus Bläser, Balagopal Komarath, Karteek Sreenivasaiah on detecting induced cycles and paths in graphs.

short story 1 -- revised

[05-12-24]

This story should hopefully be somewhat recognizable as a (heavy) revision of the previous short story 1, which was titled "short story 1". I think it works better, but this might be a controversial take. In any case, hope you enjoy.

cool classes

[05-01-24]

I'm too busy to write a proper post atm. But have been seeing some really neat things in classes, breifly jotting a note to self about them.

geometry of polynomials

[04-25-24]

Dirichlet's Theorem

[04-23-24]

In this post I will give a proof of Dirichlet's Theorem: in any (reasonable) infinite arithmetic progression there are infinitely many primes. Actually we will probably get a nice density statement that is stronger than this.

[04-21-24]

random coloring

[04-15-24]

For my stochastic processes final project I'm reading a paper about understanding the solution geometry of random coloring instances. The paper is: Dimitris Achlioptas, and Amin Coja-Oghlan. "Algorithmic barriers from phase transitions." 2008 49th Annual IEEE Symposium on Foundations of Computer Science. IEEE, 2008. I think it's quite neat. In this post I will organize some thoughts that I had after reading the proof sketches.

short story 2: the butterfly effect

[04-14-24]

This story is still on alpha release. Feedback appreciated.

modular forms

[04-09-24]

Modular forms sound freaking fancy. This post defines the modular group and describes its action on the upper half complex plane. It's actually a really simple group, it's generated by two really simple transformations. It makes some really nice pictures. Anyways this post should be really chill it's just some basic geometric facts. I think it's kind of cute though.

the circle method: warring's problem

[04-07-24]

The circle method is a quite cool technique in analytic NT. Here is an exposition of the circle method for solving the Warring problem. Much of the analysis follows closely to Nathanson's book on classical additive bases, although in a few places I have tried to give simpler proofs of some of the statements, or otherwise deviated from his presentation to hopefully add clarity and motivation.

interval tree

[03-20-24]

closest pair

[03-15-24]

what we've been up to in geometry class lately

number theory classical additive bases: chapter 4

[03-06-24]

A major topic in additive number theory is the following question: given a set $A\subseteq \N$, can every sufficiently large positive integer be expressed as the sum of a bounded number of elements of $A$? If so, in how many ways can number $n$ be represented. We say that the set $A$ is an **additive basis** of order $h$ if every positive integer can be written as the sum of at most $h$ elements from $A$.

basic physics part 1

[03-02-24]

A useful command

[02-29-24]

more concentration inequalities

[02-29-24]

FKG, Janson

circle method and selberg sieve

[02-28-24]

Two of the things that sound the coolest in Analytic Number theory are the circle method and sieves, e.g., selberg sieve and large sieve. I'm slowly learning about these. Here are some preliminary things I've learned.

NT lecture 2

[02-27-24]

The lecture notes for my second lecture in NT seminar.

shortstory1

[02-25-24]

Wrote this story for my class "writing short stories". Per popular demand posting this story here. No warranty.

random APSP ideas from graphalg lecture notes

[02-25-24]

I reread a few lecture notes from virginia's graph algo class specifically focussing on ones that seemed vaguely related to APSP.

Ye and Saha's Faster approx APSP (SODA24)

[02-23-24]

summary of a paper which I believe is basically SotA for APSP approx.

Concentration Inequalities

[02-22-24]

Concentration inequalities are super useful. I write some down that I've heard lately so that they don't leak out of my brain. Or rather, so that they leak more slowly and so that hopefully by the time I realize I'm starting to forget I have an easy reference. Or maybe they will be so frequently useful that I won't have time to forget, unclear. Anyways, writing them down will increase Pr I remember to use them.

Analytic Number Theory - Part 1

[02-22-24]

I've found a cool set of lecture notes from Harvard that talks about analytic number theory. In this post I give some of the basic ideas presented in the first couple notes.

boolean analysis: hypercontractivity

[02-22-24]

This is a stub. I will *expand* it later. I'm serious pun aside. I really didn't have time to write it all down yet.

quadratic reciprocity: Zolotarev's lemma

[02-21-24]

An intruiging proof of quadratic reciprocity.

subset sums

[02-21-24]

Jacob Foxs gave a nice talk about subset sums today. I summarize what I remember from it.

Serre chapter 3

[02-18-24]

Back with more of the intense NT book.

tribes

[02-15-24]

I explore a remark that was made today in Dor Minzer's class on analysis of boolean functions.

basic topology review part 2

[02-13-24]

Hashing the motion movie

[02-09-24]

observe: maxload = v small

NT part 2

[02-08-24]

I have partially decrypted chapter 2 of NT book.

spring24 classes

[02-07-24]

I write down some initial impressions / reactions to my classes this semester.

basic complex analysis

[02-07-24]

part 2 of my series of learning random things for NT.

basic algebra definitions

[02-02-24]

Breifly review basic algebra definitions.

fpt part 9

[01-24-24]

Algebraic Techniques!

LaTeX restate theorem

[01-21-24]

Nifty LaTeX package.

Truth

[01-21-24]

I feel like this title would be too dramatic if I didn't include a description blurb.

fpt part 8

[01-21-24]

Matroids.

fpt part 7

[01-19-24]

some more brief notes about treewidth

FPT part 6

[01-15-24]

tree width part 2

APSP +2 fast

[01-14-24]

I realized that I have very few blog posts with the tag "approximation algorithms". Seeing as I had recently heard this algorithm for APSP approx I thought I'd write it down.

fpt part 5

[01-14-24]

tree width chapter

turan triangle

[01-14-24]

The most classic fact in extremal graph theory.

FPT part 4

[01-12-24]

Randomization in FPT

graph inequalities part 2

[01-12-24]

FPT part 3

[01-08-24]

I read chapter 2 of the FPT book in a bit more detail. And try some more problems.

Why do we fight?

[01-07-24]

More stream-of-concious ramblings about research.

ENC: a more streamlined encryption system

[12-26-23]

testing ENC

Exchanging triangles / squares for larger cycles and listing cycles

[12-26-23]

Proof from Appendix of Aboud FOCS22. "Hardness of approximation in P via short-cycle removal"

fine-grained complexity: 3sum

[12-26-23]

I was reading a couple of Virginia's https://people.csail.mit.edu/virgi/6.s078/ fine-grained complexity theory notes. Here I write down some of the cool things I learned while reading the notes.

"Stronger 3SUM lower bounds via Additive Combinatorics"

[12-25-23]

In this blog post I summarize "Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive Combinatorics" by Abboud Bringmann and Fischer and also discuss the very similar "Removing Additive Structure in 3sum based reductions" by Jin and Xu.

KST theorem

[12-25-23]

I wanted to tell my sister about the KST theorem, so I'm writing it down here really fast first to make sure I understand it.

encryption

[12-23-23]

In this post I discuss the state of the skyspace software, some musings about software development, and of course a description of the newest feature of skyspace: encryption.

the power of linear-dependence

[12-19-23]

One of the most basic facts of linear algebra is that whenever you have $n+1$ vectors in an $n$-dimensional vectors space, there must be one of your vectors which can be expressed as a linear combination of the other vectors. This seemingly simple fact can prove some really interesting combinatorial statements.

MM zoo

[12-18-23]

In which I write down as many types of MM that I can look up, in hopes that they will help solve a **really** hard problem.

More MM notes

[12-14-23]

I write down some of the key problems, results, and ideas in the land of MM + graph algorithms.

Formal complexity measure

[12-13-23]

Saw a cool complexity theory idea today. Quickly jotting it down so I don't forget it.

min-cost circulation

[12-13-23]

I feel like I can never remember what min-cost circulation (MCC) is, or what the basic facts about it are. So here is a short blog post where I remind myself of what MCC is.

Bela Fleck Theorem

[12-12-23]

The Beck Fiala theorem is a fundamental result in discrepancy theory. Basically it says, if you have a collection of subsets of a universe and each element of the universe shows up in a limited number of the sets in your collection then there is a 2-coloring of the universe such that all sets have a roughly equal number of red and blue elements.

A Moral Dilemma: Surgery

[12-10-23]

Third philosophy essay, this time about a moral dilemma. THE PHILOSOPHY ESSAY IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE PHILOSOPHY OR THE USE OR OTHER DEALINGS IN THE PHILOSOPHY.

cycles

[12-09-23]

Some notes about algorithms for finding cycles in graphs.

generators for multiplicative groups of integers

[12-03-23]

2 choices, much power

[11-26-23]

basic sketching

[11-24-23]

I skimmed a couple of lecture notes and textbooks about sketching. In this blog post I summarize some of the main takeaways.

FPT part 1

[11-24-23]

Sometimes problems are hard. But sometimes they're less hard if you parameterize them correctly.

FPT part 2

[11-24-23]

Color coding algorithms for triangle packing and tree detection

quadratic residues and quadratic gauss sums

[11-23-23]

What is GRH?

[11-20-23]

insert content here

[11-19-23]

this blog post is not about contention resolution

a pretty dense pair-sum-free set.

[11-18-23]

skyspace2.0 year mark

[11-11-23]

Skyspace2.0 has now existed for 1 year. What has it meant? I offer some analysis of skyspace2.0 and discuss my favorite posts.

ethics of donating to charity

[11-06-23]

Is it ethical to spend money on personal luxuries or things you find meaningful and important when this money could be repurposed to promote health and even save lives? I'm not totally sure, but must decide anyways. Alas, such is life. Anyways I wrote an essay about the question for my philosophy class, and by popular demand am posting it here. Interested to hear people's opinions, to what extent you disagree or agree, or if you have any other interesting arguments.

sisyphus

[10-28-23]

A commentary on goals, responsibiliy, morality and society.

what to do?

[10-27-23]

https://www.againstmalaria.com

directing edges of $K_n$

[10-26-23]

relations between cryptographic primitives

[10-23-23]

Pascal's Wager

[10-17-23]

distracted philisophical agonizings

too many numbers is so big

[10-10-23]

2 agent auction

[10-09-23]

Selling and buying, how hard could it be? I'm not going to lie, it could be pretty simple.

allocation poetry

[10-07-23]

useful bounds

[10-01-23]

today I spent way too long searching for a bunch of common bounds that are useful in, e.g., randomized algorithm analysis. Here are the bounds I found, a gift to a future myself.

random walk

[09-26-23]

SAT notes: Demaine Fun with Hardness

[09-23-23]

We talked about a lot of special cases of SAT that are NP-hard in Erik Demaine's Fun with Hardness class. I have had a hard time keeping track of them all so I've created this little condensed reference for all the various versions.

first week of classes 2023

[09-15-23]

Lambert-W function Inverse

[08-31-23]

The lambert-W function $x\mapsto xe^{x}$ turns up surprisingly often. For some reason I always have had a hard time approximating it. Today I finally found the "inequalities" section of the wikipedia page for Lambert-W function, and will share it here.

meaning

[08-28-23]

Fourier Phi

[08-28-23]

To choose

[08-27-23]

I give some stream-of-consciousness musings on choice, and then hopefully edit it into something readable and meaningful that has a point.

pi^2/6

[08-25-23]

The fact \sum 1/n^2 = \pi^2/6 is well known and celebrated. In this note we present the simple fourier-analytic proof of this fact.

Discrete differential reccurrences

[08-19-23]

Geometry of Numbers

[08-16-23]

cute bijection between graph and anti-graph

[08-05-23]

Some probabilistic tools via train tracks

[08-04-23]

pairwise indep hashing 2bins

[08-03-23]

finding an n-gon

[08-03-23]

More than $1-\frac{1}{n}$ of the circumference of a circle is colored black. Can you draw a regular $n$-gon on the circle with all vertices in black regions?

mono rectangle

[07-29-23]

In any finite coloring of $\Z^2$ there is a monochromatic axis aligned rectangle.

pidgeon lattice equation

[07-28-23]

Showing that an equation has many lattice solutions

functional equation solved by quadratic reciprocity

[07-27-23]

2-server on a circle

[07-26-23]

In the k-server problem you have k "servers" located in some topological space. You recieve a series of "requests", which are points in the topological space. You must respond to the request by moving some subset of your servers so that at least one server goes to the request. We will consider this problem in a metric space. You objective is to minimize the total distance travelled by all your servers. More precisely, our objective is to create a strategy that achieves bounded competitive ratio. We consider this problem with k=2 and set on a circle, where distance is measured along the circle.

quadratic reciprocity

[07-24-23]

a little bit about quadratic residues

Farey Numbers

[07-23-23]

The $k$-Farey numbers are reduced fractions of denominator at most $k$. They have several very interesting properties and are super useful. We investigate some of these properties.

Aesthetic Colorings

[07-18-23]

a database question

[07-15-23]

Imagnie I have a postgres database with ~3000 columns storing boolean "flags" for ~1 billion rows. The "on" flag (1) is quite sparse, say occuring less than 0.1% of the time in each column. Now, I want to execute a query of the form "select all rows with flags 1,2, 5 and 101" 1. How much space would it take to store such a database? That is, will postgres by default do any sort of compression because of how sparse the "on" flag is? 2. Does postgres by default make queries of this form "fast"? If not, are there well known postgres extensions for this type of query? If not I might write my own, but just want to know if this has already been done.

n-s_2(n) is whatever you want it to (mod) b

[07-15-23]

Yet another NT problem from the book

Divisors of n!

[07-14-23]

yet another NT problem from the book #probfromthebook

thanks

[07-13-23]

lcm of binomial coefficients

[07-13-23]

A fun number theoretic game

Basic properties of primes based on residue mod 4

[07-12-23]

Again #probfromthebook, this time discussing the classes of primes congruent to $1,3 \mod 4$.

Counting primes with binomial coefficients

[07-11-23]

Again #probfromthebook, thanks Erdos

infinitely many primes one more than a multiple of p

[07-10-23]

Again #probfromthebook, this time discussing the infinitude of some classes of primes.

monotony?

[07-07-23]

This article is not directly math related. Or is it?

Cauchy Shwarz almost equality

[06-25-23]

This is part of my series of doing problems from the book "problems from the book" (by Titu Adnreescu Gabriel Dospinescu). Today is about an interesting variant of Cauchy Schwarz.

num a with ax less than half mod p: some notes on a personal conjecture

[06-24-23]

This blog post is a bunch of very half baked thoughts / attempts at proving a certain number theoretical conjecture of mine that arose in the study of the maxload of a linear hashing variant with n objects to 2 bins.

rain

[06-12-23]

perp reverses inclusion

[05-29-23]

overlap of simply periodic binary functions

[05-29-23]

Let $f_a(x)$ denote a binary string consisting of $a$ $0$'s followed by $a$ $1$'s and then repeating these $2a$ symbols. We can equivalently describe $f_a$ as $f_a(x)= \floor{x/a}\bmod 2$. We study $\sum_{x\in [ab]} f_a(x)\oplus f_b(x)$, in particular bounding the difference of the sum from $\frac{ab}{2}$.

how many edges to guarantee ham-cycle?

[05-23-23]

A common question in extremal graph theory is "what conditions do I have to put on my graph to get property X" In this blog post, we investigate the question: how many edges to guarantee hamiltonian-cycle?

flow-DP

[05-20-23]

a neat DP problem

algcombo pset3: spanning trees

[05-10-23]

multiplicative group of Fp

[05-06-23]

electrical networks

[04-28-23]

"physics". just some simple observations about electrical networks

static optimality DS

[04-27-23]

ramsey theory

[04-27-23]

generate binary strings modulo rotations

[04-20-23]

probability bounds

[04-19-23]

LCA = RMQ

[04-13-23]

LCA and RMQ are some pretty fundamental problems. Can we solve in constant time with linear preprocessing? yes.

max-anti-chain vs min-chain-cover

[04-06-23]

A hint of duality between chains and anti-chains in posets.

Cool Hashing Pictures

[03-29-23]

Numbers are so wierd! I don't get it, how are they so werid? here are some pictures showing their structured unstructuredness.

Strongly connected components

[03-25-23]

SCC are super cool and super useful. but how to compute them?

catalan numbers and permutation avoiders

[03-24-23]

linear-independence in Z and R

[03-20-23]

stab circles

[03-19-23]

circle-y stuff

duality

[03-14-23]

What's the relationship between $A,A^T$?

classification of finite fields. mostly

[03-13-23]

Binomial coefficients $\mod p$

[03-12-23]

Have you ever wondered what binomial coefficients look like $\mod p$? turns out there is actually a simple answer. Credit to Enumerative Combinatorics for the problem

algebraic combinatorics

[03-07-23]

some cool combinatorics problems with lots of color!

density of primes / factors

[03-06-23]

how dense can a numbers factors be? and how dense are primes?

generating function for inversion statistic

[03-01-23]

basic rep theory

[02-28-23]

some basic rep theory

hashing

[02-28-23]

some analsyis of some hashing methods

hales jewett

[02-28-23]

finding a monochromatic arithmetic progression in a coloring of some numbers. And playing tick tack toe in high dimensions.

Chernoff Bounds, a subtelty

[02-23-23]

a different way to think about Chernoff bounds.

trace: what is it really?

[02-17-23]

a better definition of the trace of a linear operator (which some people like to draw as matrices relative to arbitrary bases, sad)

group products

[02-16-23]

Ever wondered what a semi-direct group product is? what, if anything is the difference between an inner semidirect product and an outer semidirect product? Yeah. I've wondered these things too. But then I met $\Z_5 \rtimes \Z_4$. And it became less mysterious.

elevator: simple variants

[01-23-23]

Analysis of a couple of variants of a novel scheduling problem proposed by Nathan.

double cover: k server

[01-19-23]

prefix sum of binomial coefficients

[01-19-23]

Binomial coefficients come up all over the place in combinatorics. This article gives a decent bound on the sum of a prefix of binomial coefficients. The bound get's pretty tight for like $(.1n, .5n)$, but if you can find something tighter, please let me know!

parallel graph algorithms

[01-15-23]

A little bit of spectral graph theory

[01-14-23]

a couple cute probability puzzles

[01-14-23]

scheduling: the video game

[12-28-22]

story images

[12-23-22]

splay trees

[12-22-22]

brief discussion of splay trees

scheduleing problem: a lower bound of 2

[12-21-22]

this is a lower bound for a research problem that I've been thinking about (a lot!) recently. And some reflections on what it means.

The Best Match

[12-11-22]

an English essay I wrote about stable matchings

skyspace2.0

[12-10-22]

a note about the creation of skyspace2.0 also a test that it works ;-)

BPP is weird: featuring arithmetization

[12-07-22]

we look at bpp

comp-geo: detect some lines

[11-16-22]

solve some cool problems

phi-club log

[01-16-18]

A running log of phi-club happenings and future plans here.

Vector Calculus

[vector_calculus]

approx tsp

[tsp]

Travelling Salesman Problem (TSP) is one of the most famous NP-hard problems. Today, we are going to solve it really fast! (well, really just approximate it to within a factor of 1.5, but still).

robot panda gardener

[robot_panda_gardener]

I read a cool paper [Bilò, Davide, et al. “Cutting Bamboo Down to Size.” arXiv preprint arXiv:2005.00168 (2020)](https://arxiv.org/abs/2005.00168) and wrote a little "summary" of it. | very chill and very awesome!

quicksort

[quicksort]

fast

Probabilistic Method

[probabilistic_method]

I am going to try to read "The Probablistic Method" by Noga Alon and Joel H. Spencer. The Probablistic Method, pioneered by Erdos, is a really interesting way to think about combinatorics problems. Here is a high level overview of how proofs by the probabilistic method go

Measure Theory

[measure_theory]

Read this if you are interested in any of the following questions: "what is a meausre space?", "what's a set in R that has no well defined inner-measure?" / why do measure spaces need sigma-Algebra's defined on them?", "what's a Lesbegue integral?", "what's Lesbegue's dominated convergence theorem?" (note: work in progress)

mariage problem

[marriage_problem]

secratary problem

A Friendly Introduction to Linear Algebra

[linear_algebra]

intro to linear algebra. done a nice way

Functional Analysis

[functional_analysis]

Build up to, and proof of Projection Theorem. Might also talk about general Banach spaces but probably mostly Hilbert spaces.

fast multiply integers

[fast_integer_multiplication]

fft

deprecated

[deprecated]

countable

[countable]

why is Q countable

compression

[compression]

compress

Cache behavior

[cache_behavior]

cache

asymptotic analysis

[asymptotic_analysis]

what are functions look like

Some writeups

[assorted-writeups]

A compilation of some technical writeups and slides.