login
A032994
If d,e are consecutive digits of n in base 12, then |d-e|>=4.
0
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 17, 18, 19, 20, 21, 22, 23, 30, 31, 32, 33, 34, 35, 43, 44, 45, 46, 47, 48, 56, 57, 58, 59, 60, 61, 69, 70, 71, 72, 73, 74, 82, 83, 84, 85, 86, 87, 95, 96, 97, 98, 99, 100, 108, 109, 110, 111, 112, 113, 120
OFFSET
1,2
MATHEMATICA
cdnQ[n_]:=AllTrue[Differences[IntegerDigits[n, 12]], Abs[#]>3&]; Select[ Range[ 130], cdnQ] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, May 06 2017 *)
CROSSREFS
Sequence in context: A115060 A004840 A254650 * A072356 A105119 A069799
KEYWORD
nonn,base
STATUS
approved