Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A076042
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A076042 a(1) = 1, a(n) = a(n-1) + n^2 if a(n-1) < n^2 else a(n) = a(n-1) - n^2. +0
4
1, 5, 14, 30, 5, 41, 90, 26, 107, 7, 128, 272, 103, 299, 74, 330, 41, 365, 4, 404, 845, 361, 890, 314, 939, 263, 992, 208, 1049, 149, 1110, 86, 1175, 19, 1244, 2540, 1171, 2615, 1094, 2694, 1013, 2777, 928, 2864, 839, 2955, 746, 3050, 649, 3149 (list; graph; listen)
OFFSET

1,2

LINKS

Franklin T. Adams-Watters, Table of n, a(n) for n=1,...,1000

PROGRAM

v=vector(50):v[1]=1:for(n=2, 50, if(v[n-1]<n^2, v[n]=v[n-1]+n^2, v[n]=v[n-1]-n^2)):print(v)

CROSSREFS

Cf. A076039, A003462, A076041, A046901.

Sequence in context: A047801 A005918 A019262 this_sequence A049791 A053461 A136135

Adjacent sequences: A076039 A076040 A076041 this_sequence A076043 A076044 A076045

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Oct 29 2002

EXTENSIONS

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

page 1

Search completed in 0.002 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 December 7 08:40 EST 2009. Contains 170430 sequences.


AT&T Labs Research