login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A121541
Increasing sequence: "if n appears a*n+b does not", case a(1)=4, a=2, b=1.
4
4, 5, 6, 7, 8, 10, 12, 14, 16, 18, 19, 20, 22, 23, 24, 26, 27, 28, 30, 31, 32, 34, 35, 36, 38, 40, 42, 43, 44, 46, 48, 50, 51, 52, 54, 56, 58, 59, 60, 62, 64, 66, 67, 68, 70, 72, 74, 75, 76, 78, 79, 80, 82, 83, 84, 86, 88, 90, 91, 92, 94, 95, 96, 98, 99, 100
OFFSET
1,1
MATHEMATICA
s={4}; With[{a=2, b=1}, Do[If[FreeQ[s, (n-b)/a], AppendTo[s, n]], {n, 5, 100}]]; s
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Aug 08 2006
STATUS
approved