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

A004618
Divisible only by primes congruent to 4 mod 5.
4
1, 19, 29, 59, 79, 89, 109, 139, 149, 179, 199, 229, 239, 269, 349, 359, 361, 379, 389, 409, 419, 439, 449, 479, 499, 509, 551, 569, 599, 619, 659, 709, 719, 739, 769, 809, 829, 839, 841, 859, 919, 929, 1009, 1019
OFFSET
1,2
LINKS
MATHEMATICA
ok[1]=True; ok[n_]:=And@@(Mod[#, 5]==4&)/@FactorInteger[n][[All, 1]]; Select[Range[4000], ok] (* Vincenzo Librandi, Aug 20 2012 *)
PROG
(Magma) [n: n in [1..1100] | forall{d: d in PrimeDivisors(n) | d mod 5 eq 4}]; // Vincenzo Librandi, Aug 20 2012
CROSSREFS
Sequence in context: A106093 A084666 A242265 * A030433 A242550 A141311
KEYWORD
nonn,easy
STATUS
approved