cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A004616 Divisible only by primes congruent to 2 mod 5.

This page as a plain text file.
%I A004616 #22 Oct 26 2023 08:31:24
%S A004616 1,2,4,7,8,14,16,17,28,32,34,37,47,49,56,64,67,68,74,94,97,98,107,112,
%T A004616 119,127,128,134,136,137,148,157,167,188,194,196,197,214,224,227,238,
%U A004616 254,256,257,259,268,272,274
%N A004616 Divisible only by primes congruent to 2 mod 5.
%H A004616 Vincenzo Librandi, <a href="/A004616/b004616.txt">Table of n, a(n) for n = 1..1000</a>
%t A004616 ok[1] = True; ok[n_] := And@@ (Mod[#, 5] == 2 &)/@ FactorInteger[n][[All,1]]; Select[Range[2000],ok] (* _Vincenzo Librandi_, Aug 11 2012 *)
%o A004616 (Magma) [n: n in [1..300] | forall{d: d in PrimeDivisors(n) | d mod 5 eq 2}]; // _Bruno Berselli_, Aug 11 2012
%Y A004616 Cf. A045380 (primes congruent to 2 mod 5).
%K A004616 nonn
%O A004616 1,2
%A A004616 _N. J. A. Sloane_
%E A004616 Offset changed from 0 to 1 by _Vincenzo Librandi_, Aug 20 2012