Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A033991
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A033991 n(4n-1). +0
26
0, 3, 14, 33, 60, 95, 138, 189, 248, 315, 390, 473, 564, 663, 770, 885, 1008, 1139, 1278, 1425, 1580, 1743, 1914, 2093, 2280, 2475, 2678, 2889, 3108, 3335, 3570, 3813, 4064, 4323, 4590, 4865, 5148, 5439, 5738, 6045, 6360, 6683, 7014, 7353, 7700, 8055 (list; graph; listen)
OFFSET

0,2

COMMENT

Write 0,1,2,... in clockwise spiral; sequence gives numbers on negative x axis.

This sequence is the number of expressions x generated for a given modulus n in finite arithmetic. For example, n=1 (modulus 1) generates 3 expressions: 0+0=0(mod 1), 0-0=0(mod 1), 0*0=0(mod 1). By subtracting n from 4n^2, we eliminate the counting of those expressions that would include division by zero, which would be, of course, undefined. - David Quentin Dauthier (d_dauthier(AT)yahoo.com), Nov 04 2007

REFERENCES

S. M. Ellerstein, The square spiral, J. Recreational Mathematics 29 (#3, 1998) 188; 30 (#4, 1999-2000), 246-250.

R. L. Graham, D. E. Knuth and O. Patashnik, Concrete Mathematics. Addison-Wesley, Reading, MA, 2nd ed., 1994, p. 99.

FORMULA

G.f.: x(3+5x)/(1-x)^3. - Michael Somos, Mar 03 2003

a(n)=A014635/2 - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Jan 16 2007

a(n)= A000326(n)+A005476(n), example:95=60+35, etc... a(n)=A049452(n)-A001105(n), example:33=51-18, etc. - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Jun 12 2007

EXAMPLE

16 17 18 19 ...

15 4 5 6 ...

14 3 0 7 ...

13 2 1 8 ...

MAPLE

[seq(binomial(4*n, 2)/2, n=0..45)]; - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Jan 16 2007

MATHEMATICA

(Mathematica 6.0) Manipulate[4 x^2 - x, {x, 1, 100, 1}] - David Quentin Dauthier (d_dauthier(AT)yahoo.com), Nov 04 2007

PROGRAM

(PARI) a(n)=4*n^2-n.

CROSSREFS

Sequences from spirals: A001107, A002939, A007742, A033951, A033952, A033953, A033954, A033989, A033990, A033991, A002943, A033996, A033988.

Cf. A016742.

a(n)=A007742(-n)=A074378(2n-1)=A014848(2n).

Cf. A014635.

Sequence in context: A071396 A032525 A130697 this_sequence A081269 A140064 A064226

Adjacent sequences: A033988 A033989 A033990 this_sequence A033992 A033993 A033994

KEYWORD

nonn,easy,nice

AUTHOR

njas

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 July 26 23:19 EDT 2008. Contains 142293 sequences.


AT&T Labs Research