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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A279882 a(n) = 2^(prime(n) + 1) - 1. 1
 7, 15, 63, 255, 4095, 16383, 262143, 1048575, 16777215, 1073741823, 4294967295, 274877906943, 4398046511103, 17592186044415, 281474976710655, 18014398509481983, 1152921504606846975, 4611686018427387903, 295147905179352825855, 4722366482869645213695 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS Numbers whose binary representation is 1 repeated (prime(n)+1) times. The only prime term is 7. LINKS FORMULA a(n) = A101304(n) - 2. a(n) = A000225(A008864(n)). - Felix Fröhlich, Dec 21 2016 EXAMPLE For n=3; a(3) = 2^(prime(3) + 1) - 1 = 2^(5 + 1) - 1 = 2^6 - 1 = 63. MAPLE A279882:=n->2^(ithprime(n)+1)-1: seq(A279882(n), n=1..30); # Wesley Ivan Hurt, Jan 23 2017 MATHEMATICA f[n_] := 2^(Prime[n]+1)-2; Array[f, 20] (* Robert G. Wilson v, Dec 21 2016 *) PROG (MAGMA) [2^(NthPrime(n)+1)-1: n in[1..50]] (PARI) a(n) = 2^(prime(n)+1)-1 \\ Felix Fröhlich, Dec 21 2016 CROSSREFS Cf. A101304 (2^(prime(n)+1)+1), A098102 (2^(prime(n)-1)-1), A278741 (2^(prime(n)-1)+1). Sequence in context: A146159 A187986 A039789 * A171064 A042313 A058206 Adjacent sequences:  A279879 A279880 A279881 * A279883 A279884 A279885 KEYWORD nonn,easy AUTHOR Jaroslav Krizek, Dec 21 2016 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.

Last modified September 18 22:25 EDT 2020. Contains 337174 sequences. (Running on oeis4.)