OFFSET
1,1
COMMENTS
Every element is a multiple of 49. The smallest positive multiple of 49 not in the sequence is 2450. - David W. Wilson, Aug 03 2005
LINKS
Tanya Khovanova, Non Recursions
MATHEMATICA
f[n_] := Length[StringPosition[ToString[FromDigits[IntegerDigits[n, 7]]], "00", 1]]; Select[Table[n, {n, 10000}], f[#] > 0 && f[# - 1] == 0 &] (* Vladimir Joseph Stephan Orlovsky, Jul 23 2011 *)
Select[Range[2500], MemberQ[Partition[IntegerDigits[#, 7], 2, 1], {0, 0}] && !MemberQ[ Partition[IntegerDigits[#-1, 7], 2, 1], {0, 0}]&] (* Harvey P. Dale, Jan 21 2014 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 7], {0, 0}]>0, 1, 0], {n, 2500}], {0, 1}][[;; , 2]] (* Harvey P. Dale, May 28 2024 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved
