Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A044781
Numbers n such that string 6,8 occurs in the base 10 representation of n but not of n+1.
0
68, 168, 268, 368, 468, 568, 668, 689, 768, 868, 968, 1068, 1168, 1268, 1368, 1468, 1568, 1668, 1689, 1768, 1868, 1968, 2068, 2168, 2268, 2368, 2468, 2568, 2668, 2689, 2768, 2868, 2968, 3068, 3168, 3268, 3368, 3468, 3568
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {6, 8}]>0, 1, 0], {n, 4000}], {1, 0}][[All, 1]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Mar 06 2020 *)
CROSSREFS
Sequence in context: A211687 A256023 A044400 * A317807 A292344 A189810
KEYWORD
nonn,base
STATUS
approved