

A006516


2^(n1)*(2^n  1), n >= 0.
(Formerly M4183)


85



0, 1, 6, 28, 120, 496, 2016, 8128, 32640, 130816, 523776, 2096128, 8386560, 33550336, 134209536, 536854528, 2147450880, 8589869056, 34359607296, 137438691328, 549755289600, 2199022206976, 8796090925056, 35184367894528
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,3


COMMENTS

a(n) is also the number of different lines determined by pair of vertices in an ndimensional hypercube. The number of these lines modulo being parallel is in A003462.  Ola Veshta (olaveshta(AT)mydeja.com), Feb 15 2001
Let G_n be the elementary Abelian group G_n = (C_2)^n for n >= 1: A006516 is the number of times the number 1 appears in the character table of G_n and A007582 is the number of times the number 1. Together the two sequences cover all the values in the table, i.e., A006516(n) + A007582(n) = 2^(2n).  Ahmed Fares (ahmedfares(AT)mydeja.com), Jun 01 2001
a(n) counts the nlettered words formed using four distinct letters, one of which appears an odd number of times.  Lekraj Beedassy, Jul 22 2003
Number of 0's making up the central triangle in a Pascal's triangle mod 2 gasket.  Lekraj Beedassy, May 14 2004
mth triangular number, where m is the nth Mersenne number, i.e., a(n)=A000217(A000225(n)).  Lekraj Beedassy, May 25 2004
Number of walks of length 2n+1 between two nodes at distance 3 in the cycle graph C_8.  Herbert Kociemba, Jul 02 2004
The sequence of fractions a(n+1)/(n+1) is the 3rd binomial transform of (1,0,1/3,0,1/5,0,1/7,...).  Paul Barry, Aug 05 2005
Number of monic irreducible polynomials of degree 2 in GF(2^n)[x].  Max Alekseyev, Jan 23 2006
(A007582(n))^2 + a(n)^2 = A007582(2n). E.g., A007582(3) = 36, a(3) = 28; A007582(6) = 2080. 36^2 + 28^2 = 2080.  Gary W. Adamson, Jun 17 2006
The sequence 6*a(n), n>=1, gives the number of edges of the Hanoi graph H_4^{n} with 4 pegs and n>=1 discs.  Daniele Parisse (daniele.parisse(AT)eads.com), Jul 28 2006
8*a(n) is the total border length of the 4*n masks used when making an order n regular DNA chip, using the bidimensional Gray code suggested by Pevzner in the book "Computational Molecular Biology."  Bruno Petazzoni (bruno(AT)enix.org), Apr 05 2007
If we start with 1 in binary and at each step we prepend 1 and append 0, we construct this sequence: 1 110 11100 1111000 etc.; see A109241(n1).  Artur Jasinski, Nov 26 2007
Let P(A) be the power set of an nelement set A. Then a(n) = the number of pairs of elements {x,y} of P(A) for which x does not equal y.  Ross La Haye, Jan 02 2008
Wieder calls these "conjoint usual 2combinations." The set of "conjoint strict kcombinations" is the subset of conjoint usual kcombinations where the empty set and the set itself are excluded from possible selection. These numbers C(2^n  2,k), which for k = 2 (i.e., {x,y} of the power set of a set) give {1, 0, 1, 15, 91, 435, 1891, 7875, 32131, 129795, 521731, ...}.  Ross La Haye, Jan 15 2008
If n is a member of A000043 then a(n) is also a perfect number (A000396).  Omar E. Pol, Aug 30 2008
a(n) is also the number whose binary representation is A109241(n1), for n>0.  Omar E. Pol, Aug 31 2008
From Daniel Forgues, Nov 10 2009: (Start)
If we define a spoofperfect number as:
A spoofperfect number is a number that would be perfect if some (one or more) of its odd composite factors were wrongly assumed to be prime, i.e., taken as a spoof prime.
And if we define a "strong" spoofperfect number as:
A "strong" spoofperfect number is a spoofperfect number where sigma(n) does not reveal the compositeness of the odd composite factors of n which are wrongly assumed to be prime, i.e., taken as a spoof prime.
The odd composite factors of n which are wrongly assumed to be prime then have to be obtained additively in sigma(n) and not multiplicatively.
Then:
If 2^n1 is odd composite but taken as a spoof prime then 2^(n1)*(2^n1) is an even spoof perfect number (and moreover "strong" spoofperfect).
For example:
a(8) = 2^(81)*(2^81) = 128*255 = 19840 (where 255 (with factors 3*5*17) is taken as a spoof prime);
sigma(a(8)) = (2^81)*(255+1) = 255*256 = 2*(128*255) = 2*19840 = 2n is spoofperfect (and also "strong" spoofperfect since 255 is obtained additively);
a(11) = 2^(111)*(2^111) = 1024*2047 = 2096128 (where 2047 (with factors 23*89) is taken as a spoof prime);
sigma(a(11)) = (2^111)*(2047+1) = 2047*2048 = 2*(1024*2047) = 2*2096128 = 2n is spoofperfect (and also "strong" spoofperfect since 2047 is obtained additively).
I did a Google search and didn't find anything about the distinction between "strong" versus "weak" spoofperfect numbers. Maybe some other terminology is used.
An example of an even "weak" spoofperfect number would be:
n = 90 = 2*5*9 (where 9 (with factors 3^2) is taken as a spoof prime);
sigma(n) = (1+2)*(1+5)*(1+9) = 3*(2*3)*(2*5) = 2*(2*5*(3^2)) = 2*90 = 2n is spoofperfect (but is not "strong" spoofperfect since 9 is obtained multiplicatively as 3^2 and is thus revealed composite).
Euler proved:
If 2^k1 is a prime number, then 2^(k1)*(2^k1) is a perfect number and every even perfect number has this form.
The following seems to be true (is there a proof?):
If 2^k1 is an odd composite number taken as a spoof prime, then 2^(k1)*(2^k1) is a "strong" spoofperfect number and every even "strong" spoofperfect number has this form?
There is only one known odd spoofperfect number (found by Rene Descartes) but it is a "weak" spoofperfect number (cf. 'Descartes numbers' and 'Unsolved problems in number theory' links below). (End)
a(n+1) = A173787(2*n+1,n); cf. A020522, A059153.  Reinhard Zumkeller, Feb 28 2010
Also, row sums of triangle A139251.  Omar E. Pol, May 25 2010
From Gary W. Adamson, Oct 26 2010: (Start)
Starting with "1" = (1, 1, 2, 4, 8,...) convolved with A002450: (1, 5, 21, 85, 341,...); and (1, 3, 7, 15, 31,...) convolved with A002001: (1, 3, 12, 48, 192,...).  Gary W. Adamson, Oct 26 2010
a(n) is also the number of toothpicks in the corner toothpick structure of A153006 after 2^n  1 stages.  Omar E. Pol, Nov 20 2010
The number of ndimensional odd theta functions of halfintegral characteristic. (Gunning, p.22)  Michael Somos, Jan 03 2014
a(n) = A000217((2^n)1) = 2^(2n1)  2^(n1) is the nearest triangular number below 2^(2n1); cf. A007582, A233327.  Antti Karttunen, Feb 26 2014
a(n) is the sum of all the remainders when all the odd numbers < 2^n are divided by each of the powers 2,4,8...2^n.  J. M. Bergot, May 07 2014
Let b(m,k) = number of ways to form a sequence of m selections, without replacement, from a circular array of m labeled cells, such that the first selection of a cell whose adjacent cells have already been selected (a "first connect") occurs on the kth selection. b(m,k) is defined for m >=3, and for 3 <= k <= m. Then b(m,k)/2m ignores rotations and reflection. Let m=n+2, then a(n) = b(m,m1))/2m. Reiterated, a(n) is the (m1)th column of the triangle b(m,k)/2m, whose initial rows are (1), (1 2), (2 6 4), (6 18 28 8), (24 72 128 120 16), (120 360 672 840 496 32), (720 2160 4128 5760 5312 2016 64); see A249796. Note also that b(m,3)/2m = n!, and b(m,m)/2m = 2^n. Proofs are easy.  Tony Bartoletti, Oct 30 2014
Beginning at a(1)=1, this sequence is the sum of the first 2^(n1) numbers of the form 1+4*k. For example, a(4)=120=1+5+9+13+17+21+25+29.  J. M. Bergot, Dec 07 2014


REFERENCES

M. Gardner, Mathematical Carnival, "Pascal's Triangle", pp. 201 Alfred A. Knopf NY 1975.
Richard K. Guy, Unsolved problems in number theory, (p 72.) [From Daniel Forgues, Nov 10 2009]
R. Honsberger, Mathematical Gems, M.A.A., 1973, p. 113.
C. A. Pickover, Wonders of Numbers, Chap. 55, Oxford Univ. Press NY 2000.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).


LINKS

T. D. Noe, Table of n, a(n) for n=0..200
David Applegate, Omar E. Pol and N. J. A. Sloane, The Toothpick Sequence and Other Sequences from Cellular Automata
William Banks, Ahmet Güloğlu, Wesley Nevans and Filip Saidak, Descartes numbers, Anatomy of integers, 167173, CRM Proc. Lecture Notes, 46, Amer. Math. Soc., Providence, RI, 2008. MathSciNet review (subscription required).
R. C. Gunning, Riemann Surfaces and SecondOrder Theta Functions, SpringerVerlag, 1976. See page 22.
Ross La Haye, Binary Relations on the Power Set of an nElement Set, Journal of Integer Sequences, Vol. 12 (2009), Article 09.2.6.
Simon Plouffe, Approximations de séries génératrices et quelques conjectures, Dissertation, Université du Québec à Montréal, 1992.
Simon Plouffe, 1031 Generating Functions and Conjectures, Université du Québec à Montréal, 1992.
N. J. A. Sloane, Catalog of Toothpick and Cellular Automata Sequences in the OEIS
Thomas Wieder, The number of certain kcombinations of an nset, Applied Mathematics Electronic Notes, vol. 8 (2008).
Index entries for linear recurrences with constant coefficients, signature (6,8).


FORMULA

G.f.: x/((12*x)*(14*x)). E.g.f. for a(n+1), n>=0: 2*exp(4*x)exp(2*x).
a(n) = 2^(n1)*stirling2(n+1, 2), n>=0, with stirling2(n, m)=A008277(n, m).
Second column of triangle A075497.
a(n) = StirlingS2(2^n,2^n  1) = C(2^n,2).  Ross La Haye, Jan 12 2008
a(n+1) = 4*a(n) + 2^n.  Philippe Deléham, Feb 20 2004
Convolution of 4^n and 2^n.  Ross La Haye, Oct 29 2004
a(n+1) = sum{k=0..n, sum{j=0..n, 4^(nj)*binomial(j, k)}}.  Paul Barry, Aug 05 2005
a(n+2) = 6*a(n+1)8*a(n), a(1)=1, a(2)=6.  Daniele Parisse (daniele.parisse(AT)eads.com), Jul 28 2006 [Typo corrected by Yosu Yurramendi, Aug 06 2008]
Row sums of triangle A134346. Also, binomial transform of A048473: (1, 5, 17, 53, 161,...); double bt of A151821: (1, 4, 8, 16, 32, 64,...) and triple bt of A010684: (1, 3, 1, 3, 1, 3,...).  Gary W. Adamson, Oct 21 2007
a(n) = StirlingS2(2^n,2^n  1) = C(2^n,2).  Ross La Haye, Jan 15 2008
a(n) = 3*StirlingS2(n+1,4) + StirlingS2(n+2,3).  Ross La Haye, Jun 01 2008
a(n) = ((4^n  2^n)/22^(n1))/4 , n>=1.  Zerinvary Lajos, Jun 05 2009
a(n) = A153006(2^n  1).  Omar E. Pol, Nov 20 2010


EXAMPLE

G.f. = x + 6*x^2 + 28*x^3 + 120*x^4 + 496*x^5 + 2016*x^6 + 8128*x^7 + 32640*x^8 + ...


MAPLE

GBC := proc(n, k, q) local i; mul( (q^(ni)1)/(q^(ki)1), i=0..k1); end; # define qary Gaussian binomial coefficient [ n, k ]_q
[ seq(GBC(n+1, 2, 2)GBC(n, 2, 2), n=0..30) ]; # produces A006516
A006516:=1/(4*z1)/(2*z1); # Simon Plouffe in his 1992 dissertation
seq(binomial(2^n, 2), n=0..19); # Zerinvary Lajos, Feb 22 2008


MATHEMATICA

Table[2^(n  1)(2^n  1), {n, 0, 30}] (* or *) LinearRecurrence[{6, 8}, {0, 1}, 30] (* Harvey P. Dale, Jul 15 2011 *)


PROG

(Sage) [lucas_number1(n, 6, 8) for n in xrange(0, 24)] # Zerinvary Lajos, Apr 22 2009
(Sage) [(4^n  2^n)/2 for n in xrange(0, 24)] # Zerinvary Lajos, Jun 05 2009
(PARI) a(n)=(1<<n1)<<(n1) \\ Charles R Greathouse IV, Jun 10 2011
(Maxima) A006516(n):=2^(n1)*(2^n  1)$ makelist(A006516(n), n, 0, 30); /* Martin Ettl, Nov 15 2012 */
(Haskell)
a006516 n = a006516_list !! n
a006516_list = 0 : 1 :
zipWith () (map (* 6) $ tail a006516_list) (map (* 8) a006516_list)
 Reinhard Zumkeller, Oct 25 2013
(MAGMA) [2^(n1)*(2^n  1): n in [0..30]]; // Vincenzo Librandi, Oct 31 2014


CROSSREFS

Equals A006095(n+1)A006095(n). In other words, A006095 gives the partial sums.
Cf. A007582, A010036, A016290, A003462, A079598, A134346, A048473, A151821, A010684.
Cf. A000043, A000396.  Omar E. Pol, Aug 30 2008
Cf. A109241, A139251, A153006.  Omar E. Pol, Aug 31 2008, May 25 2010, Nov 20 2010
Cf. A002450, A002001.  Gary W. Adamson, Oct 26 2010
Cf. A049072, A000384.
Sequence in context: A065997 * A171476 A171496 A037131 A225417 A026851
Adjacent sequences: A006513 A006514 A006515 * A006517 A006518 A006519


KEYWORD

nonn,nice,easy


AUTHOR

N. J. A. Sloane


EXTENSIONS

Corrected by Philippe Deléham, Sep 17 2009


STATUS

approved



