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.

A002556 Odd squarefree numbers with an odd number of prime factors that have no prime factors greater than 31.

This page as a plain text file.
%I A002556 M2412 N0955 #40 Sep 08 2022 08:44:31
%S A002556 3,5,7,11,13,17,19,23,29,31,105,165,195,231,255,273,285,345,357,385,
%T A002556 399,429,435,455,465,483,561,595,609,627,651,663,665,715,741,759,805,
%U A002556 897,935,957,969,1001,1015,1023,1045,1085,1105,1131,1173,1209,1235,1265
%N A002556 Odd squarefree numbers with an odd number of prime factors that have no prime factors greater than 31.
%C A002556 Original name: A subset of A056912, definition unclear.
%C A002556 The definition is given on page 70 of Gupta (1943), but is hard to understand.
%C A002556 A variant of A056912, which has terms that also have prime factors > 31. - _Arkadiusz Wesolowski_, Jan 21 2016
%C A002556 The b-file contains the full sequence.- _Robert Israel_, Jan 21 2016
%D A002556 H. Gupta, A formula for L(n), J. Indian Math. Soc., 7 (1943), 68-71.
%D A002556 N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
%D A002556 N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
%H A002556 Robert Israel, <a href="/A002556/b002556.txt">Table of n, a(n) for n = 1..512</a>
%H A002556 H. Gupta, <a href="/A002556/a002556.pdf"> A formula for L(n)</a>, J. Indian Math. Soc., 7 (1943), 68-71. [Annotated scanned copy]
%p A002556 S:= select(t -> (nops(t)::odd), combinat:-powerset(select(isprime, [seq(i,i=3..31,2)]))):
%p A002556 sort(map(convert,S,`*`)); # _Robert Israel_, Jan 21 2016
%t A002556 osfnQ[n_]:=SquareFreeQ[n]&&OddQ[PrimeOmega[n]]&&Max[FactorInteger[n][[All, 1]]]<32; Select[Range[1,1301,2],osfnQ] (* _Harvey P. Dale_, Jul 19 2019 *)
%o A002556 (Magma) a:= func< n | Factorization(n)>; [n: n in [3..1265 by 2] | IsSquarefree(n) and (-1)^&+[p[2]: p in a(n)] eq -1 and f[#f][1] le 31 where f is a(n)]; // _Arkadiusz Wesolowski_, Jan 21 2016
%o A002556 (PARI) isok(n) = (n % 2) && issquarefree(n) && (omega(n) % 2) && (vecmax(factor(n)[,1]) <= 31); \\ _Michel Marcus_, Jan 21 2016
%Y A002556 Cf. A002557, A067019. Subset of A056912.
%K A002556 nonn,fini,full
%O A002556 1,1
%A A002556 _N. J. A. Sloane_, Oct 07 2015
%E A002556 Name changed and sequence extended by _Arkadiusz Wesolowski_, Jan 21 2016