|
|
A044212
|
|
Numbers n such that string 3,1 occurs in the base 8 representation of n but not of n-1.
|
|
0
|
|
|
25, 89, 153, 200, 217, 281, 345, 409, 473, 537, 601, 665, 712, 729, 793, 857, 921, 985, 1049, 1113, 1177, 1224, 1241, 1305, 1369, 1433, 1497, 1561, 1600, 1689, 1736, 1753, 1817, 1881, 1945, 2009, 2073, 2137, 2201, 2248, 2265
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
Transpose[SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 8], {3, 1}]>0, 1, 0], {n, 2300}], {0, 1}]][[2]] (* The program uses the SequencePosition and SequenceCount functions from Mathematica version 10 *) (* Harvey P. Dale, Oct 23 2015 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|