login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A044580
Numbers n such that string 1,4 occurs in the base 8 representation of n but not of n+1.
0
12, 76, 103, 140, 204, 268, 332, 396, 460, 524, 588, 615, 652, 716, 831, 844, 908, 972, 1036, 1100, 1127, 1164, 1228, 1292, 1356, 1420, 1484, 1548, 1612, 1639, 1676, 1740, 1804, 1868, 1932, 1996, 2060, 2124, 2151, 2188, 2252
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 8], {1, 4}]>0, 1, 0], {n, 2500}], {1, 0}][[;; , 1]] (* Harvey P. Dale, Dec 08 2023 *)
CROSSREFS
Sequence in context: A009642 A051104 A044199 * A075279 A009405 A009839
KEYWORD
nonn,base
STATUS
approved