login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A068410 Numbers n such that (n+1) is composite and (n+1) divides 3^n-2^n. 1
64, 132, 528, 792, 1104, 1648, 1728, 2058, 2320, 2464, 2700, 2820, 4186, 5184, 6304, 6540, 6600, 6696, 6816, 7470, 7612, 8112, 8910, 10584, 10962, 11520, 13212, 13332, 13426, 14700, 14980, 15840, 18720, 19170, 19200, 19908, 21348, 21666, 22176 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
From little Fermat theorem, if (n+1) is prime (n+1) divides 3^n-2^n
LINKS
MATHEMATICA
Select[Range[25000], CompositeQ[#+1]&&Mod[3^#-2^#, #+1]==0&] (* Harvey P. Dale, Jul 15 2023 *)
CROSSREFS
Sequence in context: A252088 A211254 A252081 * A250654 A223063 A216330
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Mar 08 2002
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 11:39 EDT 2024. Contains 371969 sequences. (Running on oeis4.)