Category: Uncategorized

An Unnecessary Proof by Contradiction

Until Covid, I was meeting up with a friend once a week for some recreational abstract algebra. This was an early problem in the textbook we used:

Prove that for any positive integer m there exists a sequence of m consecutive positive integers that are all composite.

My gut instinct was to try to prove this by contradiction, using the pigeonhole principle somehow. But before I could work that out, I saw that it’s easily provable by construction.

Proof by construction

Let n = m!. Then, for all integers k such that 0 < k \le m, we know k \mid n. So we can say that n + k = k (\frac{n}{k} + 1). Since k \mid n, the quantity \frac{n}{k} + 1 is an integer. Therefore n+k has k as a factor, making it composite. So, the sequence

n+1, n+2, \dots, n+m

are all composite. \blacksquare

Pretty trivial. But I still wanted to know if my gut instinct was right; could this be proved by contradiction?

It turns out that it can, but it’s much more complicated, and took me a couple of days to figure out.

Proof by contradiction

Assume that every set of m consecutive positive integers contains at least one prime number.

The positive integers can be expressed as a union of sets

\Z^+ = A_0 \cup A_1 \cup A_2 \cup \dots 

where

A_n = \{nm+1, nm+2, \dots, nm+m\}

Since \vert A_n \vert = m, our assumption requires that every set A_n contains at least one prime number.

Let a_i(n) be the i^{th} element of A_n, where 1\le i \le m. Call i the “position” of a_i(n) within A_n. Since there is only one even prime number, the maximum number of positions in A_n at which there can be a prime is \lceil \frac{m}{2}\rceil.


Lemma: If A_j has a prime p in position i then A_{j+q} cannot have a prime in position i when q is a multiple of p.

Proof: Let A_j and A_{j+q} be sets with prime numbers in position i, and say that a_i(j) = p and a_i(j+q) = p^*. Then

p^* = p + (m-i) +m(q-1)+i

In the sum on the right hand side of this equation, the term (m-i) represents all the positions in A_j after p, the term m(q-1) is all the positions in all of the sets between A_j and A_{j+q}, and the term i is how many positions in A_{j+q} we must move through to reach p^*.

This equation simplifies to

p^* = p +qm

If q is a multiple of p, then for some k \in \Z^+

p^* =p+kpm=p(1+km)

which contradicts that p^* is prime.


Consider a set A_j such that a_i(j) is prime. Let a_i(j) = p_1.

By the above lemma, we know that a_i(j+p_1) is composite. By our assumption, the set A_{j+p_1} must contain a prime number. There remain \lceil \frac{m}{2}\rceil - 1 positions in A_{j+p_1} at which there can be a prime. Let a_{i^*}(j+p_1) be a prime, and call it p_2.

Now consider the set A_{j+(p_1p_2)}. This set has two positions, i and i^*, at which there can’t be a prime, leaving only \lceil \frac{m}{2}\rceil - 2 positions at which there can be a prime. By our assumption, one of these positions must have a prime, which we will call p_3.

Continue this pattern until we find the set A_{k+(p_1 p_2 \dots p_{\lceil \frac{m}{2}\rceil})}. This set contains zero positions where there can be a prime. But this contradicts our assumption, which requires every A_n to contain a prime number. Thus our assumption is false, and there exists an A_n (a set of m consecutive positive integers) with only composite elements. \blacksquare

If there’s a simpler way to prove this by contradiction, I’d like to know about it.

Armadillocon 2021 Schedule

Image

I’ll be in Austin for Armadillocon this weekend, Oct 15-17. Here’s my full schedule.

Reading: Sat. 11:00 am – 11:30 am, Conference Center

Ethics of Magic: Sat. 12:00 pm – 1:00 pm, Southpark A

Making your Novel more Drool-worthy for Filmmakers and Producers: Sat. 5:00 pm – 6:00 pm, Ballroom E

Pro-Level Writing Workshops: Sat. 8:00 pm – 9:00 pm, Ballroom E

Genre Fiction as Activism: Sat 9:00 pm – 10:00 pm, Ballroom E

A Contract Is A Wish Your Heart Makes

The Science Fiction Writers of America had a press conference today, calling out the Walt Disney Company for failure to pay a writer’s royalties. News that a quarter-trillion dollar company is doing something that screws over individual artists isn’t particularly shocking, but the nature of Disney’s justification in this case is wild.

Background: Lucasfilm and 20th Century Fox used to be big, independent media companies. Now they’re part of Disney. Since Disney bought them, they now own the Star Wars and Alien media franchises, each of which contain a teeny-tiny crumb made up of novels.

Alan Dean Foster wrote the original novelization of Star Wars, and a sequel novel, Splinter of the Minds Eye. He also wrote the novelizations of Alien, Aliens, and Alien 3. Apparently, all five of these books are still in print. But, while the books are still for sale, Alan Dean Foster is no longer receiving royalties. Disney has explained to the Science Fiction Writers of America that this is all fine:

Disney’s argument is that they have purchased the rights but not the obligations of the contract. In other words, they believe they have the right to publish work, but are not obligated to pay the writer no matter what the contract says.

SFWA president Mary robinette kowal

I thought I was already maximally cynical about the habits of megacorporations, but I’m actually astonished at how brazen this is. I mean, I’m sure there’s a deep, rich body of legal theory that I’m about to ignorantly stomp all over, but: isn’t the entire point of a contract that you don’t get to pick and choose after the fact which parts apply?

I’d be shocked if this went to court. I suspect #DisneyMustPay will result in Foster getting what he’s due, if only because I can’t imagine the legal fees being less than the royalties. If this did go to court, though, I would assume it was because Disney has purchased “the rights but not the obligations” of so many contracts that it was worth the expense. And Foster’s experience does make one wonder: has Disney been paying royalties to any of the authors whose books came along with those acquisitions?

Also, is this a fight that Disney really wants to win? They license a lot of IP. Do they really want it to be possible for someone to just buy up a licensee, then carry on selling Mickey Mouse-branded red wine or whatever without paying any more fees? Because, by their own argument, that seems like it should be a-okay. Would that really be better than just paying authors the rounding error on Disney’s books that is their royalties?

Armadillocon 2019 Schedule

If you’ll be in Austin this coming weekend, you can find me at the Omni Southpark hotel for Armadillocon. Here’s my schedule:

Friday, Aug. 2, 5:00 pm — Art of the Short Story — Ballroom F

Saturday, Aug. 3, 8:00 pm — What Sciences Haven’t Been Used in Science Fiction? — Southpark A

Sunday, Aug. 4, 11:30 am — Author Reading — Southpark B

More People Abused by Bryce Milligan Come Forward

There has been a great deal of local news coverage of Hailey’s initial accusation, as well as her many classmates who have come forward to corroborate her accounts of Bryce’s behavior. Now two more women have published their stories of Bryce Milligan physically assaulting them. Courtenay Martin shares an account that, disturbingly, indicates people in the San Antonio literary community knew about Bryce’s inclinations well before he was hired to teach high school students. Denise McVea shares an experience that is both a confirmation of Hailey’s account and yet another portrait of Bryce using professional contexts to make unwanted physical advances on women. (I notice a particular similarity in Denise’s story—Bryce, when challenged, explaining away his actions by saying weight issues had made his a sexless marriage—with my own family’s experience of Bryce attempting to excuse his relationship with Hailey by saying he was impotent due to alcoholism. When called out for his improprieties in private settings, he seems to have a repeated tactic of oversharing personal sexual difficulties in an attempt to garner sympathy.)

These additional accounts undermine the feeble attempts that Bryce and those few speaking in his support have made to dismiss Haley’s story as a fabrication. Taken together, these stories depict a pattern of behavior going back decades.

Cover reveal for Nueva Madre

Here’s what the Spanish edition of “The New Mother” is going to look like. It’s the work of Cecilia García, and I adore it. It’s the first time I’ve ever seen an image of Tess, and she looks so much like she did in my head. I love the press badge, and the little picture of identical GDS siblings on her phone, and her wavy hair, and I especially love the uncertain look on her face. The bustle and blur of the city rising behind her is perfect, suggestive of the complex interplay of social forces Tess tries to navigate as she moves through the story. And that bright, full moon dominating the human skyline and framing the main character is symbolic of the themes in ways I’m sure don’t require elaboration. I’m also very pleased to see not just my name on there, but also Arrate Hidalgo’s, without whom Nueva Madre would not exist.

This beautiful thing will be available from Editorial Cerbero in November.

Release Day for The New Voices of Fantasy

It’s here! It’s here and it’s gorgeous!

Today is the release date for Tachyon’s anthology The New Voices of Fantasy, edited by Peter S. Beagle and Jacob Weisman, with fiction from some of the most exciting authors around. It has been getting a glowing reception, including starred reviews from Publishers Weekly, Kirkus, and Booklist. That mildly thumb-obscured picture above is of my contributor’s copy; this anthology is the only place to read my latest publication, “My Time Among the Bridge Blowers.”

If getting this book for free sounds cool to you, then you should know that, to celebrate the release, Tachyon is partnering with Goodreads to hold another giveaway. It’s running through Aug. 29, and you can enter here. If you think you might want to buy a copy, but would like to know a little more about it first, Tachyon has been aggregating reviews on their Tumblr page. They all seem to agree that the book fully achieved its goal of capturing the vibrant and diverse work that newer writers are contributing to the field, “authors who are ready to expand the definition of what fantasy can be, and what fantasy will be,” as Jacob Weisman writes in his introduction. Beyond the individual stories–all published since 2010, all stellar–this anthology serves to document an exciting time in the literature of the fantastic. As of today, you can hold that excitement in your hand.

Buy The New Voices of Fantasy from Tachyon Publications.

After I saw him kill the dog I was more afraid of being alone with my father than I'd ever been of anything. But over the course of months every fear, however strong, ebbs or changes. My father treated me with the same flustered abstraction with which he always had. –from This Census-Taker by China Miéville

The Most Annoying Thing About the New iOS Music App

Apple has updated the music app for the iPhone to include their new subscription music service. That’s fine. I don’t personally want to use a subscription music service, preferring to buy my music, but it’s easy enough to deactivate in the settings menu. They also gave the app a visual makeover, another fine thing to do. My problem is, the visuaI makeover seems to have introduced UI inconsistencies. That is not fine.

There are now an unpredictable number of hierarchies between me and my music. If I have my music sorted by artist, I’ve currently no idea what I’m going to see when I tap on an artists name. For example, if I tap Simon & Garfunkel, I get a collapsed list of albums that I have to tap on to see track names:

IMG_6276

But if I tap on The Submarines, I get a scrollable list of tracks with the albums as floating headings:

IMG_6274

Personally I would prefer it to always work as it does for The Submarines–a hybrid album and track view–which is how the old app worked. But more than anything I want it to be consistent. Not knowing what UI I’m going to encounter from artist to artist keeps me from developing muscle memory, and creates occasional frustration when I’m trying to play a specific song. If I can’t remember which Simon & Garfunkel album “Cecelia” is, I used to be able to just scroll until I saw it. Now I have to search, either by hand through the albums or by typing in the name. That delay between deciding what I want to listen to and being able to find it is new, and unwelcome.

Anyone know how to fix this?

The assigned classroom was filled with murderously aggressive boys and rigid girls with animal eyes who threw spitballs, punched each other, snarled, whispered, and stared one another down. And shadowing all these gestures and movements were declarations of dominance, of territory, the swift, blind play of power and weakness. Justine saw right away that she'd be at home. –Mary Gaitskill, Two Girls, Fat and Thin