|
|
A032976
|
|
Numbers with the property that all pairs of consecutive base-5 digits differ by 0 or 1.
|
|
1
|
|
|
1, 2, 3, 4, 5, 6, 7, 11, 12, 13, 17, 18, 19, 23, 24, 25, 26, 30, 31, 32, 36, 37, 38, 55, 56, 57, 61, 62, 63, 67, 68, 69, 86, 87, 88, 92, 93, 94, 98, 99, 117, 118, 119, 123, 124, 125, 126, 130, 131, 132, 150, 151, 155, 156, 157, 161, 162, 163
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
MAPLE
|
filter:= proc(n) local L, S;
L:= convert(n, base, 5);
S:= convert(L[2..-1] - L[1..-2], set);
max(S)<=1 and min(S)>=-1
end proc:
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|