Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A085141
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A085141 Greatest nonnegative integer k such that k(3k+1)/2 <= n. +0
1
0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8 (list; graph; listen)
OFFSET

0,8

FORMULA

a(n)=floor((sqrt(24n+1)-1)/6).

PROGRAM

(PARI) a(n)=if(n<0, 0, (sqrtint(24*n+1)-1)\6)

CROSSREFS

n=a(A005449(n)).

Sequence in context: A000193 A059939 A071842 this_sequence A082896 A079416 A135664

Adjacent sequences: A085138 A085139 A085140 this_sequence A085142 A085143 A085144

KEYWORD

nonn

AUTHOR

Michael Somos, Jun 19 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 July 26 13:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research