login
A044630
Numbers n such that string 7,6 occurs in the base 8 representation of n but not of n+1.
0
62, 126, 190, 254, 318, 382, 446, 503, 510, 574, 638, 702, 766, 830, 894, 958, 1015, 1022, 1086, 1150, 1214, 1278, 1342, 1406, 1470, 1527, 1534, 1598, 1662, 1726, 1790, 1854, 1918, 1982, 2039, 2046, 2110, 2174, 2238, 2302
OFFSET
1,1
MATHEMATICA
Select[Range[2500], MemberQ[Partition[IntegerDigits[#, 8], 2, 1], {7, 6}] && !MemberQ[Partition[ IntegerDigits[ #+1, 8], 2, 1], {7, 6}]&] (* Harvey P. Dale, Oct 01 2011 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 8], {7, 6}]>0, 1, 0], {n, 2500}], {1, 0}][[;; , 1]] (* Harvey P. Dale, Sep 18 2024 *)
CROSSREFS
Sequence in context: A136774 A207145 A044249 * A103584 A296026 A107581
KEYWORD
nonn,base
STATUS
approved