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.

A170830 A121153 \ A005836.

Original entry on oeis.org

949, 1036, 2362, 2812, 2847, 3108, 7086, 8436, 8541, 9324, 21258, 25308, 25623, 27972, 28009, 63774, 63973, 66124, 75924, 76869, 83916, 84027, 84253, 191322, 191919, 198372, 227772, 230607, 235228, 251748, 252081, 252759, 253216, 573966, 575757
Offset: 1

Views

Author

N. J. A. Sloane, Feb 22 2010

Keywords

Comments

If n is in this sequence then so is 3n. - Charlie Neder, Feb 25 2019

Crossrefs

Cf. A170853, A005836, and the Cantor set sequence A121153.

Programs

  • PARI
    is1(n, R=divrem(3^logint(n, 3), n), S=0)={while(R[1]!=1&&!bittest(S, R[2]), S+=1<1, return(0)); n\=3); 1;}
    for(n = 1, 1000000, if(is1(n), if(is2(n),,print(n)))) \\ Charlie Neder, Feb 26 2019, from programs for A121153 and A005836

Extensions

Data corrected by Charlie Neder, Feb 25 2019