login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A161986 a(n) = k+r where k is composite(n) and r is (largest prime divisor of k) mod (smallest prime divisor of k). 2
4, 7, 8, 9, 11, 13, 15, 17, 16, 19, 21, 22, 23, 25, 25, 27, 27, 29, 31, 32, 35, 35, 37, 37, 39, 40, 41, 43, 45, 47, 47, 49, 49, 51, 53, 53, 55, 56, 57, 58, 59, 61, 63, 64, 64, 68, 67, 69, 71, 71, 73, 75, 77, 77, 81, 79, 81, 81, 83, 85, 87, 87, 89, 89, 91, 97, 93, 94, 95, 99, 97 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Auxiliary sequence for A161850, which is the subsequence consisting of all terms that are prime.

a(n) = A002808(n)+A161849(n).

LINKS

Table of n, a(n) for n=1..71.

EXAMPLE

n = 1: composite(1) = 4; (largest prime divisor of 4) = (smallest prime divisor 4) = 2; 2 mod 2 = 0. Hence a(1) = 4+0 = 4.

n = 5: composite(5) = 10; (largest prime divisor of 10) = 5; (smallest prime divisor 10) = 2; 5 mod 2 = 1. Hence a(5) = 10+1 = 11.

PROG

(MAGMA) [ n + D[ #D] mod D[1]: n in [2..100] | not IsPrime(n) where D is PrimeDivisors(n) ];

CROSSREFS

Cf. A161850, A002808 (composite numbers), A052369 (largest prime factor of n-th composite), A056608 (smallest divisor of n-th composite), A161849 (A052369(n) mod A056608(n)).

Sequence in context: A060257 A262874 A309264 * A324940 A020670 A253472

Adjacent sequences:  A161983 A161984 A161985 * A161987 A161988 A161989

KEYWORD

nonn

AUTHOR

Klaus Brockhaus, Jun 23 2009

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 9 19:51 EST 2019. Contains 329879 sequences. (Running on oeis4.)