Arlo Guthrie wrote on Facebook that he was taking "ten days on the river" as a break in Florida while on tour, and I thought that sounded like a song, and started to write it.
Meanwhile, I had just heard that Chuck Berry had passed on. Before I knew it, Chuck took over the whole song, and I was literally up until dawn writing it.