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!)
A138856 Numbers such that all subsets of {prime(a(1)),...,prime(a(n))} have a different sum. 2

%I #4 Jul 14 2012 11:32:19

%S 1,2,4,5,10,16,28,47,83,147,267,481,882,1621,2997,5578,10428,19560,

%T 36849,69649,131983,250841,477992,912662,1746404,3347928,6429526,

%U 12366247,23820901,45947255

%N Numbers such that all subsets of {prime(a(1)),...,prime(a(n))} have a different sum.

%C see A138000,A138857,A138858.

%F A138856(n)=primepi(A138000(n))

%o (PARI) {s=1;p=0; for( n=1,20, until( !bitand( s, s>>prime(p++) ),); s+=s<<prime(p); print1( p,","))}

%Y Cf. A138000-138001, A138857-A138858, A064934.

%K nonn

%O 1,2

%A _M. F. Hasler_, Apr 10 2008

%E a(22)-a(30) from _Donovan Johnson_, Oct 03 2009

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 23 07:57 EDT 2024. Contains 371905 sequences. (Running on oeis4.)