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.

A305658 Powers of 3 in base 3/2.

Original entry on oeis.org

1, 20, 2100, 212000, 210110000, 21202200000, 21200101000000, 21011002020000000, 2120220212100000000, 2120012010112000000000, 2101102110221110000000000, 212211101110122200000000000, 212001222211110201000000000000, 210112102201222221020000000000000
Offset: 0

Views

Author

Tanya Khovanova and PRIMES STEP Senior group, Jun 07 2018

Keywords

Comments

a(n) has n zeros at the end.
a(n) is A305659(n) with n zeros added at the end, where A305659(n) is powers of 2 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(3^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(3^n); \\ Michel Marcus, Jun 18 2018

Formula

a(n) = A024629(A000244(n)).
Showing 1-1 of 1 results.