a[0]:0; recaman:set(0); recaman_next(n):=block([x:a[n-1]-n], if (x > 0) and not elementp(x, recaman) then ( a[n]:x, recaman:adjoin(x, recaman)) else ( a[n]:a[n-1]+n, recaman:adjoin(a[n], recaman))); for i:1 thru 30 do (recaman_next(i), print(i,"=",a[i])); 1 = 1 2 = 3 3 = 6 4 = 2 5 = 7 6 = 13 7 = 20 8 […]
Yearly Archives: 2019
A very simple number sequence is n(0)=2, n(1)=23, n(2)=235, n(3)=2357, n(4)=235711, n(5)=23571113 where n(i+1) is the i+1 prime concatenated with n(i). So n(1) = concat(2, n(0)) = 23. This is called by many as the Smarandache sequence. Maxima code for this is, smarandache(n):=block([p:0,l:""], for i:0 thru n step 1 do […]
I read with interest the article in the New York Times, Thursday December 19, 2019, entitled “Police Badgered Boy Accused in Barnard Killing”. I take personal interest in this, because I lived with my big brother up in 125th Street near Morningside park in 1978. It was common knowledge back […]
As usual, the default debian commands don’t do the job. I tried running pdflatex and got some indecipherable errors about a font not found. apt install texlive-latex-extra takes an inordinate time to complete, but it did the trick. pdflatex is now operative.
This is an easy calculation, just integrate the gravitational force to get GMm/r where r is the radius of the earth about 6378 km (or 6378*10^3 meters), M is the mass of the earth 5.9736*10^24 kilograms, G is the gravitational constant 6.67*10^(-11), and let us assume that our weight is […]
My wife bought a flimsy wine opener and it has proved useful in opening corked wine bottles. You may wonder why wineries still use corks and indeed cheaper wines come with spigots or twist off caps. My opinion is that it is a old fashioned warning to oeniphiliacs, or maybe […]
I thought about my privacy, but I really didn’t care. I just really needed e-mail, and they were giving it away free. A gift that keeps on giving, an offer I couldn’t refuse. The internet because of its machine to machine construction encourages one to feel anonymous. When you communicate, […]
As Don Draper says in MadMen — “I sell products, not advertising”. General Semantics (GS) is a philosophy developed by Alfred Korzybski, popularized by A.E. Van Vogt. The basic maxim of GS is “the map is not the territory”. It is the distinction between semantics and syntax. Meaning is communicated […]
I filled the rust-out in the driver side rear wheel well with GreatStuff expanding foam. This stuff expands incredibly and is very sticky! I wore disposable nitrile gloves — this is important advice. Here is the finished product after I put Bondo over the expanding foam. I used a series […]
I was watching the Democratic debates tonight, and heard Tulsi Gabbard talking about the word “Aloha”. She says that it is so much more than marking comings and goings of meetings of strangers and friends — it is the recognition that we all share a connectedness, whether it is our […]