Thursday, November 18, 2021

Pandigital palindromic sums

Two days ago Éric Angelini posted on MathFun:

234567898765432 + 1000000000000000 = 1234567898765432

... noting that (ignoring the arithmetic symbols) the concatenated 47 digits are a palindrome. Éric wondered about smaller palindromic sums where all ten digits are present ("pandigital" in the sense of A171102). Here are the 24 smallest:

12076 + 38354945 = 38367021
12076 + 83854945 = 83867021
12376 + 80854945 = 80867321
12876 + 30354945 = 30367821
13086 + 27254945 = 27268031
13086 + 72754945 = 72768031
13286 + 70754945 = 70768231
13786 + 20254945 = 20268731
21067 + 38354945 = 38376012
21067 + 83854945 = 83876012
21367 + 80854945 = 80876312
21867 + 30354945 = 30376812
23087 + 16154945 = 16178032
23087 + 61654945 = 61678032
23187 + 60654945 = 60678132
23687 + 10154945 = 10178632
31068 + 27254945 = 27286013
31068 + 72754945 = 72786013
31268 + 70754945 = 70786213
31768 + 20254945 = 20286713
32078 + 16154945 = 16187023
32078 + 61654945 = 61687023
32178 + 60654945 = 60687123
32678 + 10154945 = 10187623

Thursday, November 11, 2021

What a difference five months make

Five months ago, I showcased the then-ten-largest-known Leyland primes. Here's an update:

500973  (100207,99856)   Gabor Levai          Nov 2021
500702  (100263,98600)   Gabor Levai          Sep 2021
386642   (81650,54369)   Yusuf AttarBashi     Jun 2021
386561   (80565,62824)   Hans Havermann       Aug 2021
386548   (83747,41272)   Hans Havermann       Aug 2021
386434  (328574,15)      Sergey Batalov       May 2014
302858   (84181,3960)    Hans Havermann       Nov 2021
301815   (83278,4209)    Hans Havermann       Sep 2021
301763   (64431,48250)   Hans Havermann       Sep 2021
301716   (67237,30714)   Hans Havermann       Sep 2021

The first column gives the number of decimal digits. The Leyland number of an (x,y) pair is x^y + y^x. Nine of these ten entries are new. Of course my list of all known Leyland primes is always up-to-date.

Thursday, October 07, 2021

What's so special about 6987952709035199279905674?

Éric Angelini came up with this yesterday:

abcdefghij... (letters are distinct digits):
a is divisible by 1 with remainder 0
ab is divisible by 2 with remainder 1
abc is divisible by 3 with remainder 2
abcd is divisible by 4 with remainder 3
etc.

The largest such integer would be 95674103:

9/1 leaves a remainder of 0
95/2 leaves a remainder of 1
956/3 leaves a remainder of 2
9567/4 leaves a remainder of 3
95674/5 leaves a remainder of 4
956741/6 leaves a remainder of 5
9567410/7 leaves a remainder of 6
95674103/8 leaves a remainder of 7

Much more interesting is if we dispense with the "distinct digits" limitation. Let us allow any digit. The largest integer is now 6987952709035199279905674:

6/1 leaves a remainder of 0
69/2 leaves a remainder of 1
698/3 leaves a remainder of 2
6987/4 leaves a remainder of 3
69879/5 leaves a remainder of 4
698795/6 leaves a remainder of 5
6987952/7 leaves a remainder of 6
69879527/8 leaves a remainder of 7
698795270/9 leaves a remainder of 8
6987952709/10 leaves a remainder of 9
69879527090/11 leaves a remainder of 10
698795270903/12 leaves a remainder of 11
6987952709035/13 leaves a remainder of 12
69879527090351/14 leaves a remainder of 13
698795270903519/15 leaves a remainder of 14
6987952709035199/16 leaves a remainder of 15
69879527090351992/17 leaves a remainder of 16
698795270903519927/18 leaves a remainder of 17
6987952709035199279/19 leaves a remainder of 18
69879527090351992799/20 leaves a remainder of 19
698795270903519927990/21 leaves a remainder of 20
6987952709035199279905/22 leaves a remainder of 21
69879527090351992799056/23 leaves a remainder of 22
698795270903519927990567/24 leaves a remainder of 23
6987952709035199279905674/25 leaves a remainder of 24

Wednesday, October 06, 2021

Oaklands

click to enlarge
This is my first-year high school class of 1964/1965. Last Saturday, one of these teenagers hosted a high school reunion celebration in his residence at 50 Yorkville Avenue. If one were to look roughly northwest from the top of that building, they might see something like this:

click to enlarge
I have marked the De La Salle college location in yellow. This Apple maps representation is ~2018 because construction on the townhouses (just west of Del's fussball pitch) on Avenue Road is in its starting phase. Additionally, there are now townhouses to the south of the field on Oaklands Avenue. The city of Toronto did a detailed heritage property background report in 2015. Here's a closer bird's-eye view:

click to enlarge
There is a worthwhile article on De La Salle, written in 1980 by William Stephenson, called All Things Right & Dutiful. Somewhat surprisingly for such fare, it contains a paragraph on the once-upon-a-time corporal punishment meted out to some of the students.

I was unfortunately unable to attend this 52nd anniversary (counting from our graduating year) get-together. Many of my reasons noted here were of course tongue-in-cheek.

Saturday, October 02, 2021

Top ten reasons why I am not attending my high-school reunion

#10. I don't want to belong to any club that will accept me as a member. [Groucho Marx]

#9. I'm still recovering from the last time I was talked into attending a get-together.

#8. I can't think of a bigger social evaluative threat. (Not that I care.)

#7. I am under house arrest!

#6. I flipped a coin and it came up tails.

#5. The delta-driven fourth wave (and other respiratory delights).

#4. Elbow-bump performance anxiety.

#3. My dog wasn't invited.

#2. My shoes are on their last legs.

#1. Mama told me not to come. (That ain't the way to have fun.)

Wednesday, September 29, 2021

3816547290

I've been looking very hard for the earliest occurrence in print of the number 3816547290 as the solution of a famous divisibility challenge. For an explanation, see OEIS A181736. David Gauld, the author of that sequence, wrote about this number way back in December of 1984 (problem 15 on page 17, here; the following month it appeared in Games magazine, page 2). I recently asked David wherefrom he got that number. He replied that it was in the 1983 book "Les nombres remarquables" by François Le Lionnais. Indeed:

There's more! A Google book search for 3816547290 comes up with a Russian hit, Nauka i zhizn' (Science and life) - page 148, supposedly 1980:
click to enlarge
Once I figured out the trailing numbers, this did look like a bona fide mention. The snippet view, alas, showed nothing. And Google's date assignments can't generally be trusted, so I longed for an inside-the-journal look. Playing with it (try searching for 381654), I eventually conjured up this snippet:
click to enlarge
Showing a '1980' at the top-right made me hopeful that this is an actual earlier posing of the divisibility curiosity than that of Le Lionnais. If that were so, it would not be unreasonable to suppose that this dissemination was responsible for Le Lionnais (being the well-connected individual that he was) coming to be acquainted with 3816547290.

A variant of the divisibility puzzle that excludes the digit 0 appeared just prior to Le Lionnais in an "Acorn User" competition in November 1982:
Acorn User: November 1982, page 71
Acorn User: February 1983, detail from page 55
The February 1983 answer to the puzzle is significant for noting that the problem appeared in the 'Brainteaser' column of the Sunday Times (in 1982), which is how David Wells credited 381654729 in "The Penguin Dictionary of Curious and Interesting Numbers" (1986). More relevant (to me) is the assertion that it was first posed in Scientific American "five years ago". Of course! That would make it Dr. Matrix (Martin Gardner) in Chautauqua (Mathematical Games, Scientific American, December 1978, page 23):

"Jaime Poniachik of Buenos Aires, who edits an excellent Spanish puzzle magazine titled The Snark, happened to be visiting the Chautauqua Institution at the time of the ASMOF demonstration. When it was his turn to ask a question, he said he had a friend in the U.S. with a curious social security number. Its nine digits include every digit from 1 through 9, and they form a number in which the first two digits (reading from left to right) make a number divisible by 2, the first three digits make a number divisible by 3, the first four digits make a number divisible by 4 and so on until the entire number is divisible by 9. What is the number?"

Gardner's solution (Mathematical Games, Scientific American, January 1979, page 24):

"The social security number is 381-65-4729. Adding 0 at the end gives the unique solution to the same problem with the ten digits from 0 through 9."

So 3816547290 was implicitly noted as of this date and the explicit Russian mention a year or so later is no longer a surprise. In "The Magic Numbers of Dr. Matrix" (1985), Gardner cleans up the ambiguity of his "ten digits" solution by adding "..., and the ten-digit number divisible by 10." There is considerably more in the book but I will quote only a couple of paragraphs:

"Michael R. Leuze worked with a computer to examine solutions to this problem in number systems other than base 10. He found that there are no solutions in any odd base or in base 12. In base 2 there is the trivial solution 1. In base 4 there are two solutions, 123 and 321; in base 6, 14325 and 54321; in base 8, 3254167, 5234761, and 5674321. In base 14, as in base 10, there is a unique solution: 9 12 3 10 5 4 7 6 11 8 1 2 13. Leuze conjectures that there are no solutions in higher bases."

"Leuze sent a thorough analysis of the problem in negative bases. For other generalizations, see 'Progressively Divisible Numbers', by Stewart Metchette, in Journal of Recreational Mathematics, Vol. 15, No. 2 (1982-83), pages 119-22. The problem surfaced again in 'What's In a Number?', Mathematical Gazette, Vol. 67 (December 1983), pages 281-282. The editor added in a footnote that when the problem appeared in London's Sunday Times in 1982, irate readers made the same careless mistake some of my readers did — they complained that the answer was not unique because they had worked on the problem with an eight-digit calculator!"

Finally, Gardner reveals the true author of the puzzle:

"Jaime Poniachik (the person who posed the problem in my column) told me the problem had been invented by his wife, Lea Gorodisky, who worked with him on the Snark."

Wednesday, September 15, 2021

Spirit talker

Canada's Aboriginal Peoples Television Network (APTN) premieres tonight season 2 of Spirit Talker, "a documentary series that will follow Mi’kmaq medium Shawn Leonard as he travels from coast to coast using his psychic abilities to connect the living with the dead and bring hope, healing, and closure to indigenous communities." I've watched all of season 1 so I will certainly watch at least this first episode, not so much for what Shawn says and does (which is all fairly predictable, tired old shtick) but more for enlightening glimpses of behind-the-scenes. CTV News Atlantic (Halifax NS) did this promo piece (Keeping Up with Katie Kelly) introducing the series:

Katie: When you watch the show, you you [unintelligible] ... You know so much. People are shocked by what you say. Is it real? Is it all real?
Shawn: It's absolutely 100% real, yea. This isn't like a scripted show in any way. This is like... They just put me in front of people and let me do my thing.

In spite of being unscripted, Shawn's on-site production team includes some seven other people whose bread and butter depends on how good they can make Shawn look. Shawn himself is not of course an unwitting pawn of the deceased. His art, such as it is, likely goes back to his 1995 marriage to Melissa McClinchy who brought a dabbling in pseudoscience to their relationship (which lasted until 2014). Their paranormal pastime had become a public persona focus for Shawn as he strove* to incorporate his Indigenous ancestry into the act, dropping (for example) his Beaupre surname from his online identity. In 2015, Shawn celebrated an Indigenous wedding to a Bonny Martell but this ended bitterly a mere eighteen months later. Around this time he may have made "Shawn Leonard" his legal identity. The current status of his subsequent relationship to a Michelle Belanger (not the occult author), touted at one point as his fiancée, is unknown to me.

Perhaps a good indicator of Shawn's reach is this photograph ...

... taken from his Facebook header, impressive for the sheer number in his pre-pandemic Spirit Talker "Tribe" online course group and (of course) their gender bias. I have mentioned Shawn once before in my blog, here. Apparently season 3 of Spirit Talker (with an Ontario focus) is already half-way done.

* Shawn is still striving. In the Katie Kelly interview he states: "I'm a very proud Mi'kmaq person." Then, as if to justify the assertion: "I never grew up on reserve. I grew up near to the reserve in Shubenacadie, Nova Scotia." This must be his stock response when folk on the reserves that he visits ask him which reserve he is from.

Saturday, September 11, 2021

Hurricane Larry

Hurricane Larry landfall @ 1:20 AM, local time
This image shows the "Larry makes landfall on Newfoundland" advisory location as we moved this morning into the 20th anniversary date of the 9/11 attacks. It is not lost on me that on the attack's 9th anniversary, 11 years ago (also a Saturday), my brother-in-law Larry passed away. The hurricane's landfall is 37 km east-southeast of St. Bernard's.

A CBC news story on the hurricane mentions a "statement" that said "Larry made landfall at 1:30 a.m. NT just west of Long Harbour, N.L., on the Avalon Peninsula." I have no reason to suppose that my National Hurricane Center landfall location is incorrect, so the "just west of Long Harbour" translates to "50 km west of Long Harbour". That's on the other side of Placentia Bay at that latitude, on the Burin Peninsula. So not really a very good description. I'm aware that the official location coordinates might themselves be subject to error bars (especially this far north when much of the eye wall will have dissipated) but that is an entirely different discussion.

CTV's (Canadian Press) version of the event has Larry "arriving near South East Bight around midnight local time, according to the National Hurricane Centre in Miami." South East Bight is very close to the landfall coordinates and when one is looking for a location place-name, it will do. But what about the "midnight local time"? The NHC's summary has "1150 PM AST" (Friday) ... "0350 UTC" (Saturday). Why did the NHC use AST? Likely because that (currently) is Miami time. Technically Miami is in the EDT time zone, but Eastern Daylight Time = Atlantic Standard Time. Coordinated Universal Time is 4 hours ahead of Atlantic Standard Time. But right now, Atlantic Canada is observing Atlantic Daylight Time so landfall would have been at 12:50 AM ADT. Furthermore, Newfoundland Time is an additional half-hour ahead, so 1:20 AM local time. What made the Canadian Press think that AST was local time? It's an easy mistake to make if you have no patience for diligence.

Thursday, September 09, 2021

My 1500th Leyland prime find

This morning I found my 1500th Leyland prime. My 1000th was only eight months ago! I have 579 red values found using Mathematica (from 3 October 2015 to 3 July 2020), followed by 921 blue values found using xyyxsieve & pfgw64 (from 6 July 2020 on). Compared to my graph for the 1000th, everything is compressed: horizontally by the addition of eight months, vertically by the addition of eighteen integers ranging from 300000 to 301441 decimal digits and two more composed of 386548 and 386561 decimal digits.