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!)
A122985 Smallest composite number greater than n, relatively prime to n, such that a(n)-n is also composite. 2
9, 27, 25, 25, 9, 55, 15, 33, 25, 49, 15, 77, 21, 39, 49, 25, 21, 95, 25, 69, 25, 49, 27, 49, 33, 35, 35, 55, 33, 121, 35, 57, 49, 49, 39, 85, 45, 63, 49, 49, 45, 185, 49, 65, 49, 55, 51, 125, 55, 77, 55, 77, 57, 119, 63, 65, 65, 85, 63, 203, 65, 77, 85, 85, 69, 91, 75, 77, 77 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
scn[n_]:=Module[{k=n+1}, While[!CompositeQ[k]||!CoprimeQ[n, k] || !CompositeQ[ k-n], k++]; k]; Array[scn, 70] (* Harvey P. Dale, Jul 26 2019 *)
CROSSREFS
Equals A122984(n) + n. Cf. A096076.
Sequence in context: A227900 A010817 A205973 * A255622 A209511 A370872
KEYWORD
easy,nonn
AUTHOR
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 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)