cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-4 of 4 results.

A002064 Cullen numbers: a(n) = n*2^n + 1.

Original entry on oeis.org

1, 3, 9, 25, 65, 161, 385, 897, 2049, 4609, 10241, 22529, 49153, 106497, 229377, 491521, 1048577, 2228225, 4718593, 9961473, 20971521, 44040193, 92274689, 192937985, 402653185, 838860801, 1744830465, 3623878657, 7516192769, 15569256449, 32212254721, 66571993089
Offset: 0

Views

Author

Keywords

Comments

Binomial transform is A084859. Inverse binomial transform is A004277. - Paul Barry, Jun 12 2003
Let A be the Hessenberg matrix of order n defined by: A[1,j]=1, A[i,i]:=2,(i>1), A[i,i-1] =-1, and A[i,j]=0 otherwise. Then, for n>=1, a(n-1)= (-1)^(n-1)*coeff(charpoly(A,x),x). - Milan Janjic, Jan 26 2010
Indices of primes are listed in A005849. - M. F. Hasler, Jan 18 2015
Add the list of fractions beginning with 1/2 + 3/4 + 7/8 + ... + (2^n - 1)/2^n and take the sums pairwise from left to right. For 1/2 + 3/4 = 5/4, 5 + 4 = 9 = a(2); for 5/4 + 7/8 = 17/8, 17 + 8 = 25 = a(3); for 17/8 + 15/16 = 49/16, 49 + 16 = 65 = a(4); for 49/16 + 31/32 = 129/32, 129 + 32 = 161 = a(5). For each pairwise sum a/b, a + b = n*2^(n+1). - J. M. Bergot, May 06 2015
Number of divisors of (2^n)^(2^n). - Gus Wiseman, May 03 2021
Named after the Irish Jesuit priest James Cullen (1867-1933), who checked the primality of the terms up to n=100. - Amiram Eldar, Jun 05 2021

Examples

			G.f. = 1 + 3*x + 9*x^2 + 25*x^3 + 65*x^4 + 161*x^5 + 385*x^6 + 897*x^7 + ... - _Michael Somos_, Jul 18 2018
		

References

  • G. Everest, A. van der Poorten, I. Shparlinski and T. Ward, Recurrence Sequences, Amer. Math. Soc., 2003; see esp. p. 255.
  • R. K. Guy, Unsolved Problems in Number Theory, B20.
  • Paulo Ribenboim, The Little Book of Bigger Primes, Springer-Verlag NY 2004. See pp. 240-242.
  • W. Sierpiński, Elementary Theory of Numbers. Państ. Wydaw. Nauk., Warsaw, 1964, p. 346.
  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Diagonal k = n + 1 of A046688.
A000005 counts divisors of n.
A000312 = n^n.
A002109 gives hyperfactorials (sigma: A260146, omega: A303281).
A057156 = (2^n)^(2^n).
A062319 counts divisors of n^n.
A173339 lists positions of squares in A062319.
A188385 gives the highest prime exponent in n^n.
A249784 counts divisors of n^n^n.

Programs

Formula

a(n) = 4a(n-1) - 4a(n-2) + 1. - Paul Barry, Jun 12 2003
a(n) = sum of row (n+1) of triangle A130197. Example: a(3) = 25 = (12 + 8 + 4 + 1), row 4 of A130197. - Gary W. Adamson, May 16 2007
Row sums of triangle A134081. - Gary W. Adamson, Oct 07 2007
Equals row sums of triangle A143038. - Gary W. Adamson, Jul 18 2008
Equals row sums of triangle A156708. - Gary W. Adamson, Feb 13 2009
G.f.: -(1-2*x+2*x^2)/((-1+x)*(2*x-1)^2). a(n) = A001787(n+1)+1-A000079(n). - R. J. Mathar, Nov 16 2007
a(n) = 1 + 2^(n + log_2(n)) ~ 1 + A000079(n+A004257(n)). a(n) ~ A000051(n+A004257(n)). - Jonathan Vos Post, Jul 20 2008
a(0)=1, a(1)=3, a(2)=9, a(n) = 5*a(n-1)-8*a(n-2)+4*a(n-3). - Harvey P. Dale, Oct 13 2011
a(n) = A036289(n) + 1 = A003261(n) + 2. - Reinhard Zumkeller, Mar 16 2013
E.g.f.: 2*x*exp(2*x) + exp(x). - Robert Israel, Dec 12 2014
a(n) = 2^n * A000325(n) = 4^n * A186947(-n) for all n in Z. - Michael Somos, Jul 18 2018
a(n) = Sum_{i=0..n-1} a(i) + A000325(n+1). - Ivan N. Ianakiev, Aug 07 2019
a(n) = sigma((2^n)^(2^n)) = A000005(A057156(n)) = A062319(2^n). - Gus Wiseman, May 03 2021
Sum_{n>=0} 1/a(n) = A340841. - Amiram Eldar, Jun 05 2021

Extensions

Edited by M. F. Hasler, Oct 31 2012

A006234 a(n) = n*3^(n-4).

Original entry on oeis.org

1, 4, 15, 54, 189, 648, 2187, 7290, 24057, 78732, 255879, 826686, 2657205, 8503056, 27103491, 86093442, 272629233, 860934420, 2711943423, 8523250758, 26732013741, 83682825624, 261508830075, 815907549834, 2541865828329
Offset: 3

Views

Author

Keywords

Comments

For n >= 1 a(n) is also the determinant of the n-3 X n-3 matrix with 4's on the diagonal and 1's elsewhere. - Ahmed Fares (ahmedfares(AT)my-deja.com), May 06 2001
a(n+3) = det(M(n)) where M(n) is the n X n matrix with m(i,i) = 4, m(i,j) = i/j for i != j. - Benoit Cloitre, Feb 01 2003
Main diagonal of array defined by m(1,j) = j; m(i,1) = i and m(i,j) = m(i-1,j) + 2*m(i-1,j-1). - Benoit Cloitre, Jun 13 2003
a(n+3) is the number of words of length n on {A, B, C, D} with no D appearing anywhere to the right of an A. - Rob Pratt, Aug 04 2004
Number of spanning trees in the book graph of order n-2, i.e., S_{n-2} X P_2 (S_k = the star graph on k nodes) (conjectured). This conjecture is true - see Doslic (2013). - N. J. A. Sloane, Dec 28 2013
Conjecture: a(n+2) is the total number of parts used in the compositions of n if the parts can be runs of any length from 1 to n, and contain any integers from 1 to n. (The number of such compositions is given by A000244(n-1).) - Gregory L. Simay, May 27 2017
a(n+3) is the number of words of length n defined on 4 letters where one of the letters is used at most once. - Enrique Navarrete, Mar 14 2024

Examples

			For n=3, the total number of parts is (3+2)3^(3+2-4)=(5)(3)=15 (each part indicated by "[]"): [3]; [2,1]; [1,2]; [2],[1]; [1],[2]; [1,1,1]; [1,1],[1]; [1],[1,1]; [1],[1],[1]. Note that these 15 parts are arranged into 9 = A000244(3-1)compositions. - _Gregory L. Simay_, May 27 2017
		

References

  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Binomial transform of A001792.

Programs

Formula

G.f.: (1-2*x)/(1-3*x)^2. - Simon Plouffe in his 1992 dissertation.
a(n+3) = Sum_{k=0..n} A112626(n, k). - Ross La Haye, Jan 11 2006
G.f.: Hypergeometric2F1([1,4],[3],3*x). - R. J. Mathar, Aug 09 2015
From Amiram Eldar, Jan 18 2021: (Start)
Sum_{n>=1} 1/a(n) = 81*log(3/2).
Sum_{n>=1} (-1)^(n+1)/a(n) = 81*log(4/3). (End)
E.g.f.: x*(exp(3*x) - 3*x - 1)/27. - Stefano Spezia, Mar 04 2023
E.g.f. (with offset 0): exp(3*x)*(1+x). - Enrique Navarrete, Mar 14 2024

A242203 Numbers n such that n*3^n + 1 is semiprime.

Original entry on oeis.org

1, 3, 10, 16, 20, 22, 24, 34, 39, 56, 63, 108, 128, 194, 202, 212, 214, 218, 314, 364, 662, 722
Offset: 1

Views

Author

Vincenzo Librandi, May 10 2014

Keywords

Comments

The semiprimes of this form are 4, 82, 590491, 688747537, 69735688021, 690383311399, 6778308875545, 567024177788663347, 158049650967740074414, 29307467449532190083956645177, ...
a(23) >= 894. - Hugo Pfoertner, Aug 03 2019

Crossrefs

Cf. numbers n such that n*k^n + 1 is semiprime: A242175 (k=2), this sequence (k=3), A242204 (k=4), A242205 (k=5), A242269 (k=6), A242270 (k=7), A242271 (k=8), A242272 (k=9), A216378 (k=10).

Programs

  • Magma
    IsSemiprime:=func; [n: n in [1..130] | IsSemiprime(s) where s is n*3^n+1];
    
  • Mathematica
    Select[Range[130], PrimeOmega[# 3^# + 1] == 2 &]
  • PARI
    isok(n) = bigomega(n*3^n + 1)==2; \\ Michel Marcus, Mar 30 2019

Extensions

a(14)-a(20) from Luke March, Jul 30 2015
a(21)-a(22) from Daniel Suteu, Mar 30 2019

A064749 a(n) = n*11^n + 1.

Original entry on oeis.org

1, 12, 243, 3994, 58565, 805256, 10629367, 136410198, 1714871049, 21221529220, 259374246011, 3138428376722, 37661140520653, 448795257871104, 5316497670165375, 62658722541234766, 735195677817154577, 8592599484487994108, 100078511642860166659, 1162022718519876379530
Offset: 0

Author

N. J. A. Sloane, Oct 19 2001

Keywords

Crossrefs

For a(n)=n*k^n+1: A000012 (k=0), A000027(n+1) (k=1), A002064 (k=2), A050914 (k=3), A050915 (k=4), A050916 (k=5), A050917 (k=6), A050919 (k=7), A064746 (k=8), A064747 (k=9), A064748 (k=10), this sequence (k=11), A064750 (k=12).
Cf. A064757.

Programs

  • Magma
    [n*11^n+1: n in [0..20]]; // Vincenzo Librandi, Sep 16 2011
  • Maple
    k:= 11; f:= gfun:-rectoproc({-1 - (k-1)*n + k*n*a(n-1) - (n-1)*a(n) = 0, a(0) = 1, a(1) = k+1}, a(n), remember): map(f, [$0..20]); # Georg Fischer, Feb 19 2021

Formula

a(n) = A064757(n) + 2 for n>=1. - Georg Fischer, Feb 19 2021
G.f.: -(110*x^2-11*x+1)/((x-1)*(11*x-1)^2). - Alois P. Heinz, Feb 19 2021
From Elmo R. Oliveira, May 03 2025: (Start)
E.g.f.: exp(x)*(1 + 11*x*exp(10*x)).
a(n) = 23*a(n-1) - 143*a(n-2) + 121*a(n-3). (End)
Showing 1-4 of 4 results.