Saturday 11 September 2021

Displaying the SageMathCell Interface

Quite some time ago I tried embedding the SageMathCell interface in my blog posts but experienced some glitches that led me to turn to the use of permalinks as an alternative. The permalink is almost as good as having the interface embedded but it does require the user to click a hyperlink. There's something to be said for simple embedding as the user can execute the SageMath code right there on the page without following a hyperlink. In this post I just want to test this method out again, using a sequence from my previous post:


 A279093

Numbers that are nontrivially palindromic in three or more consecutive integer bases.

The initial members are:

178, 300, 373, 676, 1111, 1702, 2473, 3448, 4651, 6106, 7837, 9868, 12223, 14926, 18001, 21472, 25363, ...

Pressing evaluate in the embedded SageMathCell interface should produce "the initial members" as listed under the sequence. Now I'll take it a step further and display numbers along with their palindromic equivalents in the three consecutive number bases.


No comments:

Post a Comment