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.

Showing 1-2 of 2 results.

A221743 Numbers k such that (6*k+1)*(12*k+1)*(18*k+1) is a Carmichael number which is the product of four prime numbers.

Original entry on oeis.org

5, 11, 15, 61, 85, 115, 455, 661, 700, 805, 920, 1225, 1326, 1910, 2961, 4935, 5425, 6565, 8175, 10885, 11375, 12155, 13230, 18315, 37800, 39325, 45325, 59726, 69440, 99645, 113120, 121365, 129850, 144685, 211945, 353465, 378940, 389896, 392625
Offset: 1

Views

Author

Bruno Berselli, Jan 23 2013, based on the Cerruti paper

Keywords

Crossrefs

Cf. A002997, A033502, A221742 (associated Carmichael numbers).
Subsequence of A101187.

Programs

  • Magma
    [n: n in [1..4*10^5] | #PrimeDivisors(c) eq 4 and IsOne(c mod CarmichaelLambda(c)) where c is (6*n+1)*(12*n+1)*(18*n+1)];
  • Maple
    with(numtheory);P:=proc(q)local a,b,k,ok,n;
    for n from 0 to q do a:=(6*n+1)*(12*n+1)*(18*n+1); b:=ifactors(a)[2];
    if issqrfree(a) and nops(b)=4 then ok:=1;
    for k from 1 to 4 do if not type((a-1)/(b[k][1]-1),integer) then ok:=0;
    break; fi; od; if ok=1 then print(n); fi;
    fi; od; end: P(10^6); # Paolo P. Lava, Oct 11 2013
  • Mathematica
    IsCarmichaelQ[n_] := Module[{f}, If[EvenQ[n] || PrimeQ[n], False, f = Transpose[FactorInteger[n]][[1]]; Union[Mod[n-1, f-1]] == {0}]]; n = 0; t = {}; While[Length[t] < 39, n++; c = (6*n + 1)*(12*n + 1)*(18*n + 1); If[SquareFreeQ[c] && Length[FactorInteger[c]] == 4 && IsCarmichaelQ[c], AppendTo[t, n]]]; t (* T. D. Noe, Jan 23 2013 *)

A101188 Values of k for which (7*k+1)*(8*k+1)*(11*k+1) is a Carmichael number.

Original entry on oeis.org

18, 216, 24966, 228246, 299790, 403806, 413046, 446310, 514686, 760470, 948966, 1019190, 1087566, 1355526, 1374006, 1471950, 1582830, 1715886, 2159406, 2266590, 2334966, 2589990, 2833926, 3652590, 3661830, 3720966, 3874350
Offset: 1

Views

Author

Gerard P. Michon, Dec 08 2004

Keywords

Comments

All values of n are even (since there are no even Carmichael numbers). Small values happen to be congruent to 18 modulo 66. This first fails for a(34)=5206142, which yields the Carmichael number 86921811895459937817345 = (3*5*29*83777)*41649137*57267563. Below this, only 4 values of n (18, 216, 299790 and 446310) correspond to Carmichael numbers with at least 4 prime factors. Other values of n must be of the form 1848k+942, with k given by A101186.

Examples

			a(1) = 18 corresponds to a 4-factor Carmichael number: 3664585 = 127 *(5*29) * 199.
		

Crossrefs

Cf. A002997 (Carmichael numbers), A101186, A101187.

Programs

  • Mathematica
    CarmichaelNbrQ[n_] := ! PrimeQ[n] && Mod[n, CarmichaelLambda[n]] == 1; Select[ Range[4000000], CarmichaelNbrQ[(7# + 1)(8# + 1)(11# + 1)] &] (* Robert G. Wilson v, Aug 24 2012 *)
Showing 1-2 of 2 results.