

A271874


Smallest basen Fermat pseudoprime with n distinct prime factors.


1




OFFSET

2,1


COMMENTS

Main diagonal of A271873.


LINKS

Table of n, a(n) for n=2..6.


EXAMPLE

a(4) = 11305, since 11305 is the smallest term x of A020136 such that A001221(x) = 4.


PROG

(PARI) a(n) = forcomposite(c=1, , if(Mod(n, c)^(c1)==1, if(omega(c)==n, return(c))))


CROSSREFS

Cf. A001221, A020136, A271873.
Sequence in context: A271801 A322120 A250199 * A025335 A025327 A101852
Adjacent sequences: A271871 A271872 A271873 * A271875 A271876 A271877


KEYWORD

nonn,more


AUTHOR

Felix FrÃ¶hlich, Apr 16 2016


STATUS

approved



