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!)
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:
select(filter, [$1..1000]); # Robert Israel, Nov 16 2016
CROSSREFS
Cf. A007091.
Sequence in context: A032971 A099466 A358673 * A174219 A115037 A280536
KEYWORD
nonn,base
AUTHOR
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 24 17:20 EDT 2024. Contains 371962 sequences. (Running on oeis4.)