[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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

Showing entries 1-10 | older changes
A binary encoding of the twos in ternary representation of n (see Comments for precise definition).
(history; published version)
#33 by Joerg Arndt at Thu May 09 03:12:18 EDT 2024
STATUS

reviewed

approved

#32 by Michel Marcus at Thu May 09 01:36:43 EDT 2024
STATUS

proposed

reviewed

#31 by Ruud H.G. van Tol at Wed May 08 10:09:33 EDT 2024
STATUS

editing

proposed

#30 by Ruud H.G. van Tol at Wed May 08 10:07:41 EDT 2024
PROG

(PARI) a(n) = fromdigits(digits(n, 3)\2, 2); \\ Ruud H.G. van Tol, May 08 2024

STATUS

approved

editing

Discussion
Wed May 08
10:09
Ruud H.G. van Tol: Added PROG. Could also use ">>1".
#29 by Joerg Arndt at Sun May 03 06:02:51 EDT 2020
STATUS

reviewed

approved

#28 by Michel Marcus at Sun May 03 05:59:09 EDT 2020
STATUS

proposed

reviewed

#27 by F. Chapoton at Sun May 03 05:25:36 EDT 2020
STATUS

editing

proposed

#26 by F. Chapoton at Sun May 03 05:25:27 EDT 2020
PROG

d = digits(n, 3)[1:]

return int("".join(['1' if i == 2 else '0' for i in d]), 2)

print map([a, (n) for n in range(101)]) # Indranil Ghosh, Jul 20 2017

STATUS

approved

editing

Discussion
Sun May 03
05:25
F. Chapoton: adapt python code to python3
#25 by Giovanni Resta at Mon Mar 09 06:10:20 EDT 2020
STATUS

proposed

approved

#24 by Michel Marcus at Mon Mar 09 05:57:37 EDT 2020
STATUS

editing

proposed