|
|
A044535
|
|
Numbers n such that string 2,2 occurs in the base 7 representation of n but not of n+1.
|
|
0
|
|
|
16, 65, 118, 163, 212, 261, 310, 359, 408, 461, 506, 555, 604, 653, 702, 751, 832, 849, 898, 947, 996, 1045, 1094, 1147, 1192, 1241, 1290, 1339, 1388, 1437, 1490, 1535, 1584, 1633, 1682, 1731, 1780, 1833, 1878, 1927, 1976
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
Transpose[SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 7], {2, 2}]>0, 1, 0], {n, 2000}], {1, 0}]][[1]] (* The program uses the SequencePosition and SequenceCount functions from Mathematica version 10 *) (* Harvey P. Dale, May 21 2015 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|