login
The OEIS is supported by
the many generous donors to the OEIS Foundation
.
A037911
Number of i such that |d(i) - d(i-1)| = 1, where Sum_{i=0..m} d(i)*8^i is the base-8 representation of n.
8
0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 2, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 2, 1, 2, 1, 1, 1, 1, 0, 0, 1
(
list
;
graph
;
refs
;
listen
;
history
;
text
;
internal format
)
OFFSET
1,65
LINKS
Iain Fox,
Table of n, a(n) for n = 1..10000
PROG
(PARI) a(n) = my(c); for(i=2, #n=digits(n, 8), if(abs(n[i]-n[i-1])==1, c++)); c \\
Iain Fox
, Oct 28 2018
CROSSREFS
In base b:
A037906
(b=3),
A037907
(b=4),
A037908
(b=5),
A037909
(b=6),
A037910
(b=7),
A037912
(b=9),
A037913
(b=10).
Sequence in context:
A025920
A037821
A316863
*
A176046
A172090
A037912
Adjacent sequences:
A037908
A037909
A037910
*
A037912
A037913
A037914
KEYWORD
nonn
,
base
AUTHOR
Clark Kimberling
STATUS
approved