|
|
A044208
|
|
Numbers n such that string 2,5 occurs in the base 8 representation of n but not of n-1.
|
|
0
|
|
|
21, 85, 149, 168, 213, 277, 341, 405, 469, 533, 597, 661, 680, 725, 789, 853, 917, 981, 1045, 1109, 1173, 1192, 1237, 1301, 1344, 1429, 1493, 1557, 1621, 1685, 1704, 1749, 1813, 1877, 1941, 2005, 2069, 2133, 2197, 2216, 2261
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
Flatten[Position[Partition[Table[If[MemberQ[Partition[IntegerDigits[n, 8], 2, 1], {2, 5}], 1, 0], {n, 2300}], 2, 1], {0, 1}]]+1 (* Harvey P. Dale, Mar 29 2015 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|