login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A307254 Numbers k such that k is the substring identical to the most significant digits of its base-3 representation. 5
0, 1, 2, 10, 20, 21, 102, 110, 212, 220, 1112, 12112, 100120102112, 201012211212, 1012020201210, 2111021022020, 11100220111211, 22201211020121, 112201021022110, 120202121012200, 1222102100221101, 1000102100102121221002, 2000211201000000212101, 10102022202100111202222 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Numbers k whose base-3 representation begins with the same digits as k itself.
LINKS
EXAMPLE
220_10 = 22011_3, which also begins with '220'.
PROG
(PARI) isok(n) = my(vb=digits(n, 3), vd=digits(n)); vd == vector(#vd, k, vb[k]); \\ Michel Marcus, Apr 08 2019
CROSSREFS
This is a subsequence of A038103.
Sequence in context: A350508 A306105 A038103 * A293725 A351552 A305448
KEYWORD
nonn,base
AUTHOR
Scott R. Shannon, Apr 01 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)