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-3 of 3 results.

A135720 a(n) is the smallest Carmichael number (A002997) with the n-th prime as its smallest prime divisor, or 0 if no such number exists.

Original entry on oeis.org

561, 1105, 1729, 75361, 29341, 162401, 334153, 1615681, 3581761, 399001, 294409, 252601, 1152271, 104569501, 2508013, 178837201, 6189121, 10267951, 10024561, 14469841, 4461725581, 985052881, 19384289, 23382529, 3828001, 90698401, 84350561, 6733693, 17098369
Offset: 2

Views

Author

Artur Jasinski, Nov 25 2007

Keywords

Examples

			a(2) = 561 because the smallest prime divisor of 561 is 3 which is the second prime.
		

Crossrefs

Extensions

Two missing terms and terms up to a(447) added by Donovan Johnson, Dec 25 2013
a(448)-a(615) in b-file from Max Alekseyev, Mar 11 2018
Escape clause added by Jianing Song, Dec 12 2021

A141706 a(n) is the largest Carmichael number of the form prime(n)*prime(n')*prime(n") with n < n' < n", or 0 if no such number exists.

Original entry on oeis.org

0, 561, 10585, 52633, 0, 530881, 7207201, 1024651, 1615681, 5444489, 471905281, 36765901, 2489462641, 564651361, 958762729, 17316001, 178837201, 1574601601, 7991602081, 597717121, 962442001, 4461725581, 167385219121, 43286923681
Offset: 1

Views

Author

M. F. Hasler, Jul 03 2008

Keywords

Comments

Primes for which there are no such numbers (i.e. prime(n) such that a(n)=0) are given in A051663.

Examples

			a(1)=0 since there is no Carmichael number having prime(1)=2 as factor.
a(2)=561 since this is the largest (since only) Carmichael number of the form pqr with prime r>q>p=prime(2)=3.
a(5)=0 since there is no Carmichael number of the form pqr with prime r>q>p=prime(5)=11.
		

Crossrefs

Programs

  • PARI
    A141706(n) = { /* based on code by J.Brennen (jb AT brennen.net) */ local( V=[], B, p=prime(n), q, r); for( A=1, p-1, B=ceil((p^2+1)/A); while( 1, r=(p*B-p+A*B-B)/(A*B-p*p); q=(A*r-A+1)/p; q<=p && break; denominator(q)==1 && denominator(r)==1 && r>q && isprime(q) && isprime(r) && (p*q*r)%(p-1)==1 && V=concat(V,[p*q*r]); B++ )); if( V, vecmax( V ))}

A290486 The least 3-Carmichael number that is divisible by the n-th odd prime, or 0 if no such number exists.

Original entry on oeis.org

561, 1105, 1729, 561, 1105, 561, 1729, 6601, 2465, 2821, 29341, 6601, 334153, 104569501, 2508013, 178837201, 29341, 8911, 10024561, 10585, 2508013, 985052881, 19384289, 46657, 252601, 52633, 84350561, 294409, 3581761, 1152271, 139952671, 410041, 79624621
Offset: 1

Views

Author

Amiram Eldar, Aug 03 2017

Keywords

Comments

The terms were calculated using Pinch's tables of Carmichael numbers (see link below).

Crossrefs

Cf. A065091 (Odd primes), A087788 (3-Carmichael numbers), A135721, A141705.

Extensions

Escape clause added by Jianing Song, Dec 12 2021
Showing 1-3 of 3 results.