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”).

A258011
Numbers remaining after the third stage of Lucky sieve.
4
1, 3, 7, 9, 13, 15, 21, 25, 27, 31, 33, 37, 43, 45, 49, 51, 55, 57, 63, 67, 69, 73, 75, 79, 85, 87, 91, 93, 97, 99, 105, 109, 111, 115, 117, 121, 127, 129, 133, 135, 139, 141, 147, 151, 153, 157, 159, 163, 169, 171, 175, 177, 181, 183, 189, 193, 195, 199, 201, 205, 211, 213, 217, 219, 223, 225, 231, 235, 237, 241, 243, 247, 253, 255
OFFSET
1,2
COMMENTS
Equal to A047241 with its every seventh term (A258016) removed.
Numbers congruent to {1, 3, 7, 9, 13, 15, 21, 25, 27, 31, 33, 37} modulo 42. - Jianing Song, Apr 27 2022
LINKS
FORMULA
From Jianing Song, Apr 27 2022: (Start)
a(n) = a(n-12) + 42.
a(n) = a(n-1) + a(n-12) - a(n-13).
G.f.:(x+2*x^2+4*x^3+2*x^4+4*x^5+2*x^6+6*x^7+4*x^8+2*x^9+4*x^10+2*x^11+4*x^12+5*x^13)/(1-x-x^12+x^13). (End)
MAPLE
gf := (x*(1 + x*(2 + x*(4 + x*(2 + x*(4 + x*(2 + x*(6 + x*(4 + x*(2 + x*(4 + x*(2 + x*(4 + 5*x)))))))))))))/(1 - x*(1 + (1 - x)*x^11)): ser:= series(gf, x, 112):
seq(coeff(ser, x, k), k = 1..74); # Peter Luschny, Apr 29 2022
PROG
(Scheme)
(define (A258011 n) (A258207bi 3 n)) ;; A258207bi given in A258207.
CROSSREFS
Row 3 of A258207.
Setwise difference of A047241 \ A258016.
Cf. also A260440 (Every ninth term).
Sequence in context: A172367 A336234 A024901 * A000959 A204085 A230076
KEYWORD
nonn,easy
AUTHOR
Antti Karttunen, Jul 27 2015
STATUS
approved