[go: up one dir, main page]

login
Revision History for A354885 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Numbers that are palindromes in both ternary and balanced ternary representations.
(history; published version)
#18 by Michel Marcus at Thu Jun 16 02:33:48 EDT 2022
STATUS

reviewed

approved

#17 by Joerg Arndt at Thu Jun 16 02:01:39 EDT 2022
STATUS

proposed

reviewed

#16 by Amiram Eldar at Thu Jun 16 01:41:10 EDT 2022
STATUS

editing

proposed

#15 by Amiram Eldar at Thu Jun 16 01:40:43 EDT 2022
LINKS

Amiram Eldar, <a href="/A354885/b354885.txt">Table of n, a(n) for n = 1..10000</a>

STATUS

approved

editing

#14 by N. J. A. Sloane at Fri Jun 10 13:32:40 EDT 2022
STATUS

proposed

approved

#13 by Rémy Sigrist at Fri Jun 10 11:31:08 EDT 2022
STATUS

editing

proposed

#12 by Rémy Sigrist at Fri Jun 10 11:31:00 EDT 2022
PROG

(PARI) is(n) = {my (t=digits(n, 3)); if (t==Vecrev(t), my (b=[], d); while (n, b=concat(b, d=[0, 1, -1][1+n%3], b); n=(n-d)/3); b==Vecrev(b), 0)} \\ Rémy Sigrist, Jun 10 2022

Discussion
Fri Jun 10
11:31
Rémy Sigrist: added program
#11 by Rémy Sigrist at Fri Jun 10 11:30:01 EDT 2022
PROG

(PARI) is(n) = {my (t=digits(n, 3)); if (t==Vecrev(t), my (b=[], d); while (n, b=concat(b, d=[0, 1, -1][1+n%3]); n=(n-d)/3); b==Vecrev(b), 0)} \\ Rémy Sigrist, Jun 10 2022

STATUS

proposed

editing

#10 by Amiram Eldar at Fri Jun 10 04:15:14 EDT 2022
STATUS

editing

proposed

#9 by Amiram Eldar at Fri Jun 10 04:15:12 EDT 2022
CROSSREFS

Subsequences: A003462, A034472 \ {2}, A354886.

STATUS

proposed

editing