Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A001082
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A001082 a(n) = n(3n-4)/4 if n even, (n-1)(3n+1)/4 if n odd. +0
27
0, 1, 5, 8, 16, 21, 33, 40, 56, 65, 85, 96, 120, 133, 161, 176, 208, 225, 261, 280, 320, 341, 385, 408, 456, 481, 533, 560, 616, 645, 705, 736, 800, 833, 901, 936, 1008, 1045, 1121, 1160, 1240, 1281, 1365, 1408, 1496, 1541, 1633, 1680, 1776, 1825, 1925, 1976 (list; graph; listen)
OFFSET

1,3

COMMENT

3*a(n)+1 is a perfect square.

Could also be called generalized octagonal numbers, or n(3n-2) for n=0, +- 1, +- 2,.... Cf. A001318, generalized pentagonal numbers. - Matthew Vandermast (ghodges14(AT)comcast.net), Apr 10 2003

n^2 - n - floor(n/2)^2.

Sequence allows us to find X values of the equation: 3*X^3 + X^2 = Y^2. - Mohamed Bouhamida (bhmd95(AT)yahoo.fr), Nov 06 2007

LINKS

R. Stephan, On the solutions to 'px+1 is square'

FORMULA

G.f.: sum_{n=0..inf} (-1)^n*[x^(a(2n+1)) + x^(a(2n+2))] = 1/1 - (x-x^2)/1 - (x^2-x^4)/1 - (x^3-x^6)/1 -...- (x^k - x^(2k))/1 -... (continued fraction where k=1..inf). - Paul D. Hanna (pauldhanna(AT)juno.com), Aug 16 2002

a(2n)=n(3n+2), a(2n+1)=3*n^2+4n+1. - Mohamed Bouhamida (bhmd95(AT)yahoo.fr), Nov 06 2007

a(n+1) = ceil(n/2)^2+A046092([n/2]).

a(2n)=n(3n-2)=A000567(n), a(2n+1)=n(3n+2)=A045944(n). - Mohamed Bouhamida (bhmd95(AT)yahoo.fr), Nov 06 2007

O.g.f.: -x^2*(x^2+4*x+1)/((x-1)^3*(1+x)^2). - R. J. Mathar (mathar@strw.leidenuniv.nl), Apr 15 2008

a(n+1)-a(n)=A022998(n). - R. J. Mathar (mathar@strw.leidenuniv.nl), Apr 15 2008

PROGRAM

(PARI) a(n)=if(n%2, (n-1)*(3*n+1)/4, n*(3*n-4)/4)

CROSSREFS

Partial sums of A022998.

Cf. A005563, A046092.

Adjacent sequences: A001079 A001080 A001081 this_sequence A001083 A001084 A001085

Sequence in context: A039752 A065905 A126695 this_sequence A030006 A088586 A073136

KEYWORD

nonn,easy

AUTHOR

njas and Tom Duff

EXTENSIONS

More terms from James A. Sellers (sellersj(AT)math.psu.edu), Sep 19 2000

More terms from Ralf Stephan (ralf(AT)ark.in-berlin.de), Jul 25 2003

Some of the formulae were corrected by R. J. Mathar (mathar@strw.leidenuniv.nl), Apr 15 2008

page 1

Search completed in 0.003 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified May 16 01:24 EDT 2008. Contains 139630 sequences.


AT&T Labs Research