%I #10 Apr 05 2015 14:27:06
%S 68,132,196,260,324,388,452,516,551,580,644,708,772,836,900,964,1028,
%T 1063,1092,1156,1220,1284,1348,1412,1476,1540,1575,1604,1668,1732,
%U 1796,1860,1924,1988,2052,2087,2116,2180,2244,2308
%N Numbers n such that string 0,4 occurs in the base 8 representation of n but not of n+1.
%H Harvey P. Dale, <a href="/A044572/b044572.txt">Table of n, a(n) for n = 1..1000</a>
%t Transpose[SequencePosition[Table[If[SequenceCount[IntegerDigits[n,8],{0,4}]>0,1,0],{n,2400}],{1,0}]][[1]] (* The program uses the SequencePosition and SequenceCount functions from Mathematica version 10.1 *) (* _Harvey P. Dale_, Apr 05 2015 *)
%K nonn,base
%O 1,1
%A _Clark Kimberling_
|