login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A104772 If n<=2 then n else (if n is odd then 2*a(n+1) else p*q, where n=p+q, p<=q, primes). 3
1, 2, 8, 4, 18, 9, 30, 15, 42, 21, 70, 35, 66, 33, 78, 39, 130, 65, 102, 51, 114, 57, 190, 95, 138, 69, 230, 115, 322, 161, 174, 87, 186, 93, 310, 155, 434, 217, 222, 111, 370, 185, 246, 123, 258, 129, 430, 215, 282, 141, 470, 235, 658, 329, 318, 159, 530, 265, 742 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Encoding of positive integers based on the Goldbach conjecture, see A104774 for decoding: A104774(A104772(n))=n;

a(n - n mod 2) = (2^(1 + n mod 2)) * A020481(floor(n/2))*A020482(floor(n/2));

for numbers greater than 4: a(even) = odd and a(odd) = even;

A001222(a(n)) = A010693(n) for n>2;

a(a(n)) = A104773(n).

LINKS

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

Index entries for sequences related to Goldbach conjecture

FORMULA

For k>1: a(2*k)=A020481(k)*A020482(k) and a(2*k-1)=2*a(2*k).

CROSSREFS

Cf. A001358, A046315, A090967.

Sequence in context: A175181 A110003 A035302 * A264142 A088156 A019193

Adjacent sequences:  A104769 A104770 A104771 * A104773 A104774 A104775

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller, Mar 24 2005

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 January 25 03:49 EST 2020. Contains 331241 sequences. (Running on oeis4.)