login
A043176
Numbers k such that 4 and 7 occur juxtaposed in the base-8 representation of k but not of k-1.
0
39, 60, 103, 124, 167, 188, 231, 252, 295, 312, 359, 380, 423, 444, 480, 508, 551, 572, 615, 636, 679, 700, 743, 764, 807, 824, 871, 892, 935, 956, 992, 1020, 1063, 1084, 1127, 1148, 1191, 1212, 1255, 1276, 1319, 1336, 1383
OFFSET
1,1
MATHEMATICA
Select[Range[1500], MemberQ[Sort/@Partition[IntegerDigits[#, 8], 2, 1], {4, 7}]&&!MemberQ[Sort/@Partition[IntegerDigits[#-1, 8], 2, 1], {4, 7}]&] (* Harvey P. Dale, Oct 20 2011 *)
CROSSREFS
Cf. A007094.
Sequence in context: A338794 A050780 A039353 * A043956 A090876 A375744
KEYWORD
nonn,base
STATUS
approved