Talk:Truncatable primes: Difference between revisions

→‎redefinition of truncatable primes: added commentary on other sequences that assume base ten. -- ~~~~
m (→‎redefinition of truncatable primes: dear, cheap, rare, hateful numbers, and then some. -- ~~~~)
(→‎redefinition of truncatable primes: added commentary on other sequences that assume base ten. -- ~~~~)
Line 29:
:::Hi Gerard, I still can't see how talking about taking a digit would mean anything but a decimal digit from a base-10 representation of a prime? The task description on RC leaves out any mention of numerical bases. You introduce bases above when you talk of the number of right-truncatable primes but if you had just said that "There are only 83 right-truncatable primes" then wouldn't a base of 10 be automatically inferred? --[[User:Paddy3118|Paddy3118]] 21:48, 12 September 2012 (UTC)
 
:::: No, as others have discussed this (outside of Rosetta Code) and are careful in mentioning what base is being meant., is Thebeing numberused, 787or inis octalto isbe 1423used. If you take the digit '''4''' (from the 1423The number) ...787 thisin statementoctal doesn't infer thatis 1423 is base ten. There are a few number sequences that are in (or implied) base ten (but some sequences could be in other bases):
<br> If you take the digit '''4''' (from the 1423 number) ...
<br><br>this statement doesn't infer that 1423 is base ten. -- [[User:Gerard Schildberger|Gerard Schildberger]] 23:05, 12 September 2012 (UTC)
 
-----
 
There are a few number sequences that are in (or implied) base ten (but some sequences could be in other bases):
 
* look-and-say (look, then say how many digits there are, in order, of a positive integer)
Line 50 ⟶ 56:
* rep unit primes (primes which only contain the digit one)
 
(Pardon me if some of those sequences should be capitalized.) Also pardon me if I didn't get the exact definition stated correctly, I was trying to be succinct so that the definition would fit on one line. I was switching between digits and numerals, numbers and integers, and whatnot. I took a couple of handfuls of sequences that can be described easily (well, I tried to keep the descriptions short and simple).
<br>A few sequences are shown in base ten, but use another base, such as xenodrome numbers (base 12), xenodrome numbers are integers, which expressed in base 12, has every numeral (digit) different from each other, that is, each digit is unique). -- [[User:Gerard Schildberger|Gerard Schildberger]] 22:46, 12 September 2012 (UTC)
 
<br><br>I've written a handy-dandy, slicer-dicer, one-size-fits-all, all-in-one general purpose calculator (in REXX) that has all those functions and more, around 1,500 functions). A lot of the Rosetta Code tasks that have REXX solutions were ripped out of that program, dumbed down, much (if not all) error checking removed, and generally, put on a severe diet before posting to RC. I wish Rosetta Code had the space for it. -- [[User:Gerard Schildberger|Gerard Schildberger]] 23:05, 12 September 2012 (UTC)