Sunday, August 12

Size is everything


Harry Allen's tweet yesterday asks about the size comparison of a 2013 Mac Pro to that of a soda can. Of course that Mac Pro looks somewhat like a soda can but it's significantly larger. The volume of the 2013 Mac Pro is roughly 5000 cm^3. The volume of a soda can is typically 400 cm^3. So no, this Mac Pro doesn't qualify as a soda-can-sized computer. Cliff Pickover retweeted the post without comment.

Monday, August 6

Ænlic primes

Last month I showcased a very large term in OEIS sequence A039986. I didn't then have a special name for these numbers but I've given it some thought and finally settled on ænlic primes. Say what? A program-generated pronunciation [loud] for the Old English expression suggests (to my ear) a tad more ah than eh of that initial ae diphthong. The ending is like the word each. But I digress.

To recap, a term in A039986 is a prime number where no other permutation of its digits is prime — including permutations with leading zeros. For example, using two zero digits and ten one digits we can create the following 66 distinct permutations:

 1    1111111111 = 11*41*271*9091
 2   10111111111 = 101*421*237791
 3   11011111111 = 7*11*13*11000111
 4   11101111111 = 211*52611901
 5   11110111111 = 11*31*43*191*3967
 6   11111011111 = 41*101*271*9901
 7   11111101111 = 11*17*59417653
 8   11111110111 = 19*53*1667*6619
 9   11111111011 = 7*11*13^2*29*29443
10   11111111101 = 23*101*1931*2477
11   11111111110 = 2*5*11*41*271*9091
12  100111111111 = 11*31*293580971
13  101011111111 = 19*101*52637369
14  101101111111 = 7*11*13*17*281*21143
15  101110111111 = 41*269*271*33829
16  101111011111 = 11^2*2791*299401
17  101111101111 = 101*9901*101111
18  101111110111 = 11*59*155795239
19  101111111011 = 89*823*859*1607
20  101111111101 = 7*11*13*41*271*9091
21  101111111110 = 2*5*101*421*237791
22  110011111111 = 11*10181*982321
23  110101111111 = 101*1090110011
24  110110111111 = 7*11*13^2*293*28879
25  110111011111 = 97*659*1722557
26  110111101111 = 11*10010100101
27  110111110111 = 101*149*739*9901
28  110111111011 = 11*109*6047*15187
29  110111111101 = 110111111101
30  110111111110 = 2*5*7*11*13*11000111
31  111001111111 = 11*53*1097*173561
32  111010111111 = 101*181*6072431
33  111011011111 = 7^2*11*13*15842873
34  111011101111 = 383*289846217
35  111011110111 = 11^2*47*19520153
36  111011111011 = 31*101*3581*9901
37  111011111101 = 11*9013*1119707
38  111011111110 = 2*5*211*52611901
39  111100111111 = 11*19*531579479
40  111101011111 = 61*101*18032951
41  111101101111 = 7*11*13*23*71*67967
42  111101110111 = 1373*80918507
43  111101111011 = 11*10100101001
44  111101111101 = 101*241*461*9901
45  111101111110 = 2*5*11*31*43*191*3967
46  111110011111 = 11*41*271*909091
47  111110101111 = 83*101*2887*4591
48  111110110111 = 7*11*13*683*162517
49  111110111011 = 17*71*2777*33149
50  111110111101 = 11^3*83478671
51  111110111110 = 2*5*41*101*271*9901
52  111111001111 = 11*131*77106871
53  111111010111 = 101*5647*194813
54  111111011011 = 7*11*13*199*557789
55  111111011101 = 41*251*271*39841
56  111111011110 = 2*5*11*17*59417653
57  111111100111 = 11*10101009101
58  111111101011 = 101*1100109911
59  111111101101 = 7*11*13*111000101
60  111111101110 = 2*5*19*53*1667*6619
61  111111110011 = 11*1499*6738499
62  111111110101 = 17^2*101*3806609
63  111111110110 = 2*5*7*11*13^2*29*29443
64  111111111001 = 11*307*32902313
65  111111111010 = 2*5*23*101*1931*2477
66  111111111100 = 2^2*5^2*11*41*271*9091

Only #29 is prime, so this number, 110111111101, is an ænlic prime. If there were more than one prime in such a permutation list, they would not be ænlic. Using PARI code on the OEIS A039986 webpage, I generated 1141 ænlic primes less than 10^30. The program spent two weeks looking for 31-digit solutions — only to abort with a memory issue!

At that point I decided to write my own Mathematica program. Not a foolproof discovery engine that calculated all terms for a given digit-length — because such searches would take too long — but rather, a brute force effort that started with a given number of repdigits (1-9) and replaced up to two of the digits with something else (0-9, but not the repdigit). I can't be certain that this finds all of the ænlic primes that exist for the digit-length under consideration — but I think it probable.

The program is currently up to 10^350. I've preceded the decimal numbers with compact notation (where warranted: all but 44) and indexed the lot. I should be able to reach 10^500 but it will take another couple of weeks and will further deprive my "long compute" of the four cores on my fastest machine.

The number of ænlic primes of a given digit-length (4, 13, 34, 45, 68, 67, 47, 36, 40, 46, 33, 45, 35, 38, 32, 39, ...) is remarkably stable:


In my range — except for four near-the-start values — they are always greater than 20 and less than 48. I wonder if there exists a long-term trend.

Saturday, July 14

Digit sums of powers of integers


Cliff Pickover's Thursday twitter "shiver" explained: "666 is equal to the sum of the digits of its 47th power." That is really only half the story. 666 is also equal to the sum of the digits of its 51st power. I've created a cheat sheet to easily find exponent solutions for integers up to 20034 (note that not all integers have a solution). With it (and nothing else) you can solve this problem:

The sum of the digits of n^911 is n. What is the sum of the digits of n^913?

Sunday, July 8

(10^10002-1)/9-10^2872

This is what (10^10002-1)/9-10^2872 looks like:

111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111101111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111

A zero (I've made it bold to make it easier to spot) is sandwiched between 7129 ones to the left and 2872 ones to the right. A number composed only of ones is called a repunit, so this would be a near-repunit.

The number is prime of course but that's not what makes it special. It would be relatively easy to come up with other near-repdigit primes of this (or even much larger) size. What makes it special is that no other distinct permutation of its digits is prime.

Think of it this way: Consider the repunit composed of 10002 ones. There are 10002 different integers where one of the ones is replaced with a zero. When the initial one is replaced with a zero, that zero disappears and the integer becomes a repunit composed of 10001 ones. Every other substitution (having the zero in a different place) maintains the 10002-digit length. We test all 10002 thus-permuted integers for primality (which may take a while) and discover that they are all composite except for one, i.e. the provided example.

There is a sequence of such primes (A039986) in the OEIS and I'm currently trying to extend the number of its known initial terms.

Friday, May 25

A pre-European aboriginal settlement in Weston

In 1937, Frederick David Cruikshank and Joseph Nason published their "History of Weston" in which the authors gave short shrift to the place's aboriginal inhabitants. On page 2 of the first chapter (The Beginnings) they wrote:

"The Humber in this district was a favourite haunt of the Ojibway tribes and it is said that they visited the old hunting ground as late as 1841. There were at least two Indian burial places close to Weston, one just south of the village and the other about a mile to the north. In 1825, John Paul, the well-known cooper at The Humber, saw the internment of an Indian warrior and his accoutrements."

I was curious about that burial place "just south of the village". The context is clearly the original village of Farr's Mills which was on the flood plain of the Etobicoke side of the Humber river, roughly where the Weston Golf and Country Club is now. Just south of there is St. Philip's Anglican Church with its small cemetery. Further south still is Riverside Cemetery in the Humber Heights community, which I have argued strongly (nine months ago) is historically part of the greater Weston community. Could either of these two cemeteries have commingled with an earlier native burial site?

I don't know. But if we take Cruikshank and Nason at their word, there was an aboriginal burial place in this area and one doesn't have a burial place without an accompanying settlement. So, what evidence is there for a native settlement in Humber Heights? The Royal Ontario Museum has a number of native artifacts "from the Weston area". It is likely phrased that way because they weren't actually found within Weston, as the town came to be incorporated strictly on the east side of the river. Rather, they were from near there. There are records of an A.M. Kennedy, Esq., of Weston, having gifted a large number of native artifacts to the museum in 1914 and at least one of these came from a site "north of Weston" so I can't assume that any of his artifacts might have come from Humber Heights. In fact, I think it likely that all of Kennedy's finds might have come from a known Iroquois settlement north of Weston.

There does exist a record of a Weston archaeological site which was supposed to be a native "village", as "confirmed through surface sample and comments of local inhabitants" (Victor Konrad, 1972). Strangely, Konrad placed this site at the Humber Place apartments, in Weston, not in Humber Heights across the river. The Humber Place apartments were built in 1969, so Konrad was unable to carry out his own survey. If that was the case, how did he get a surface sample? He didn't. Apparently Victor Konrad learned of the site from a "Father Meighan" (from Upper Canada College). Father Meighan's name is attached to a number of Toronto area archaeological sites surveyed in 1950. It's possible that Humber Heights was one of those and that he is the one that did the surface sampling and talking to the locals. Konrad simply passed on that information. There is more. Konrad gave the site's location:

Cultural Matrix: 3-6 acres
Latitude: 434150
Longitude: 793140
Easting: 1930
Northing: 3925

Clearly Konrad did not come up with these numbers on his own as they place the village in Humber Heights. He must have transcribed them from Father Meighan's report! But if Meighan noted the location in Humber Heights, how (and why) did Konrad end up at the Humber Place apartments? It's a bit of a headscratcher. One possibility is that Meighan referred to the locale as "Weston" and a confused Konrad, aware only that the town of Weston had in 1967 been absorbed into the Borough of York, simply assumed (without referring to the site coordinates) that Meighan had meant the site to be east of the river and thus described it as so being there ("east of present arena").

There is a way to confirm or refute this hypothesis: Find Father Meighan's report on the site! Unfortunately this may not be possible. Apart from Father Meighan's name being associated with some Toronto archaeological surveys, I have been unable so far to find him in any other context. I haven't even been able to figure out his first name. And as this man has seemingly vanished from the face of history, so too has his report.

Nowadays, most folk peripherally acquainted with the matter will attest to the aboriginal "village" archaeological site as being at the Humber Place apartments and cite the nearby (less than 200 meters away on the other side of the Toronto Community Housing high-rise on Bellevue Crescent) "Weston bones" archaeological site as a native burial ground for it.

I must remind these people that the fourteen-or-so skeletons dug up there in 1911 constitute a site of unknown date and culture. The Toronto Historical Association suggests that they "may be French, since Indians rarely buried their dead in high-traffic areas" (Weston Road, the Carrying-Place trail, is 60 meters away). They could just as easily be English "who fought in the rebellion of 1837 or the war of 1812", as one Westonian suggested in a newspaper report at the time. We do know that Dr. Rowland B. Orr (Superintendent of the Provincial Museum), who visited that site more than three days after the bones had already been dug up with many of the skulls — by then — pilfered, almost certainly mischaracterized the skeletons to be "Indians" based on a supposed "arrangement" of the bones that is directly contradicted by eyewitness testimony.

Significantly perhaps, in the 1911 newspaper articles none of the Westonian gossip was to the effect of there having once been an Indian village close by!

Wednesday, May 16

Weston's archaeological sites

There are two archaeological sites in Weston and this morning I visited the Toronto Reference Library to see if I could document where exactly they might be. The book was Victor Konrad's 1973 "The archaeological resources of the Toronto planning area". I was more than a little disappointed with what little detail I found.


The two open circles represent Weston's two sites in the then- Borough of York, the upper-left one called "Scarlett Rd." (AkGv-5) and the lower-right one called "Bellevue Cr." (AkGv-6). I dealt with the Bellevue Crescent "Weston bones" site here, so we know the exact location of it. The circle in Konrad's map has it too far to the right by some 250 meters. I wonder if the Scarlett Rd. circle is similarly displaced. At the very least that would bring it closer to Scarlett Road which lies on the other side of the Humber River (the thick wavy line to the left of the circles).

Clearly the circles were not meant to be an accurate placement of the archaeological sites. Konrad lists the Scarlett Rd. site in the Borough of York (a 1967 municipality that absorbed the former town of Weston) but the actual Scarlett Road is not in that borough. Rather, it is in the adjacent municipality of Etobicoke. This discrepancy should be resolvable by a reference that notes the exact location of AkGv-5 but I can't seem to find an original source. It's not just the archaeological sites that have disappeared. Even the information about them is slowly becoming lost!

Tuesday, April 17

A 100031-digit Leyland prime

In February I explained the status of my current Leyland-primes search, hoping therein to have scored my first Leyland prime with more than 100000 decimal digits by this summer.

Today I achieved that milestone with 23406^18781+18781^23406, which contains in its expanded form 100031 decimal digits.

Saturday, April 14

Lost in conversion

I thought I'd give the Netflix reboot of Lost in Space a go just now. To be clear, I'm old enough to have watched the mid-1960s original and I didn't think much of it. Three minutes into the first episode of the remake, the starship is losing altitude:


I've enabled the subtitles in the screen grab so that you might comprehend my objection. I decided not to watch any further.

Tuesday, April 10

Ancestry

I got my ancestry-by-populations chart from 23andMe today:


No real surprises. My father's family is the German component. The Netherlands and Denmark matches just serve to regionalize which part of Germany (northwest) that family lived. Poland is there, of course, because that was my mother's mother's place of birth. We had always thought of my mother's father as Russian and the match for Ukraine is a nominal step in that direction, as one mustn't take these countries literally.

Somewhat more surprising is the 8.7% British and Irish component. It doesn't mean, I'm sure, that I have an ancestor that hails therefrom. Rather, some British and Irish populations share a common ancestry with me.

Wednesday, April 4

California dreamin'

Yesterday morning I noticed a couple of small plastic STUCCO advertising-signs nailed to the hydro utility pole in front of my house and — sure enough — two more on a pole up the street. I've been waging war on these signs for a good number of years! So I surveyed the immediate neighborhood (some six streets) and found two more pairs, on Lippincott St. W. and Edmund Ave. In the afternoon — wearing my high-visibility safety vest, a hammer under my belt and a small ladder on my shoulder — I took them all down.

In my survey I discovered a "medical marijuana" dispensary on the northwest corner of Weston Rd. and Lippincott St. W. (The only time I might find myself at this intersection is for the across-the-street Dairy Queen, which is closed in the winter.)


This is the first such business (of which I am aware) in Weston, albeit the south end thereof. Apparently, it is a concern.