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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A131848 Least nonnegative number which when added to the n-th semiprime gives a multiple of n. 0
0, 0, 0, 2, 1, 3, 0, 2, 2, 4, 0, 2, 4, 4, 6, 2, 2, 3, 2, 3, 5, 4, 4, 3, 1, 1, 26, 27, 1, 3, 2, 3, 5, 7, 34, 33, 33, 34, 37, 39, 1, 3, 0, 43, 1, 43, 46, 1, 2, 4, 49, 50, 0, 1, 54, 55, 51, 54, 53, 55, 57, 54, 51, 54, 57, 59, 62, 63, 63, 66, 69, 71, 1, 3, 4, 2, 73, 75, 69, 71 (list; graph; refs; listen; history; internal format)
OFFSET

1,4

COMMENTS

This is to semiprimes A001358 as A068901 is to primes A000040.

FORMULA

a(n) = MIN{k=>0 such that n|(k+A001358(n))}.

EXAMPLE

a(1) = 0 because 1 | (0+semiprime(1)=4).

a(6) = 3 because 6 | (3+semiprime(3)=3+15=18).

a(25) = 1 because 25 | (1+semiprime(25)=1+74=75).

CROSSREFS

Cf. A000040, A001358, A068901.

Sequence in context: A091829 A194188 A104512 * A035157 A087469 A022328

Adjacent sequences:  A131845 A131846 A131847 * A131849 A131850 A131851

KEYWORD

easy,nonn

AUTHOR

Jonathan Vos Post (jvospost3(AT)gmail.com), Oct 04 2007

EXTENSIONS

More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jan 15 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 16:49 EST 2012. Contains 206058 sequences.