login
Numbers k such that k is the substring identical to the most significant digits of its base-8 representation.
3

%I #19 May 19 2019 19:44:22

%S 0,1,2,3,4,5,6,7,13663722656306465044,13664030703642511032,

%T 13707143454447524553,13710552565235121771,14336552505653142213,

%U 14340267205650777016,14340267205651006010,15013125376232575510,15013125401147630620,10142740706726414575022612720

%N Numbers k such that k is the substring identical to the most significant digits of its base-8 representation.

%C Numbers k whose base-8 representation begins with the same digits as k itself.

%H Scott R. Shannon, <a href="/A308071/b308071.txt">Table of n, a(n) for n = 1..500</a>

%e 13663722656306465044_10 = 1366372265630646504424_8, which also begins with '13663722656306465044'.

%o (PARI) isok(n) = my(vb=digits(n, 8), vd=digits(n)); vd == vector(#vd, k, vb[k]); \\ _Michel Marcus_, May 17 2019

%Y This is a subsequence of A228051.

%Y See A181929, A307254, A307255, A307256, A307257, A308070, A308072 for other bases.

%K nonn,base

%O 1,3

%A _Scott R. Shannon_, May 11 2019