cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A305659 Powers of 2 in base 3/2.

Original entry on oeis.org

1, 2, 21, 212, 21011, 212022, 21200101, 2101100202, 21202202121, 2120012010112, 210110211022111, 2122111011101222, 212001222211110201, 21011210220122222102, 2101100011201022201221, 21202200211121122010012, 2120010121200020001020211, 210110211001100210002212122
Offset: 0

Views

Author

Tanya Khovanova and PRIMES STEP Senior group, Jun 07 2018

Keywords

Comments

a(n) is A305658(n) with n zeros removed at the end, where A305658(n) is powers of 3 in base 3/2.

Crossrefs

Programs

  • Maple
    b:= proc(n) `if`(n<1, 0, irem(n, 3, 'q')+b(2*q)*10) end:
    a:= n-> b(2^n):
    seq(a(n), n=0..20);  # Alois P. Heinz, Jun 18 2018
  • PARI
    f(n) = if( n<1, 0, f(n\3 * 2) * 10 + n%3);
    a(n) = f(2^n); \\ Michel Marcus, Jun 18 2018

Formula

a(n) = A024629(A000079(n)). - Michel Marcus, Jun 18 2018

Extensions

More terms from Michel Marcus, Jun 18 2018
Showing 1-1 of 1 results.