login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A123049
Numbers n such that (n+2) | (2^n+3^n).
0
0, 3, 33, 75, 2385, 6345, 6963, 11625, 18555, 57825, 89505, 92475, 265995, 473625, 575265, 1254363, 1720035, 3930705, 4295763, 4638603, 5686875, 6662115, 8731875, 8782515, 13964025, 14951385, 17714475, 18979035, 21868875, 26854155, 45546345
OFFSET
1,2
COMMENTS
All terms are multiples of 3. - Robert G. Wilson v, Sep 29 2006
Entries not congruent to 0 (modulo 5): 3, 33, 6963, 1254363, 4295763, 4638603, 50045553, 69151563, 114829611, 121716633, 208974987, 249618633, 292403403, ..., . - Robert G. Wilson v, Sep 29 2006
MATHEMATICA
Do[m = n; If[ Mod[ PowerMod[2, n, n + 2] + PowerMod[3, n, n + 2], n + 2] == 0, Print@n], {n, 0, 45546345}] (* Robert G. Wilson v, Sep 29 2006 *)
CROSSREFS
Cf. A045576.
Sequence in context: A186680 A139222 A358695 * A153783 A048911 A239345
KEYWORD
nonn
AUTHOR
Zak Seidov, Sep 25 2006
EXTENSIONS
More terms from Robert G. Wilson v, Sep 29 2006
STATUS
approved