Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A098972
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A098972 a(0)=1; for n>0, a(n)=2*a(floor(n/2))+3*a(floor(n/3)). +0
1
1, 5, 13, 25, 41, 41, 89, 89, 121, 157, 157, 157, 301, 301, 301, 301, 365, 365, 581, 581, 581, 581, 581, 581, 965, 965, 965, 1073, 1073, 1073, 1073, 1073, 1201, 1201, 1201, 1201, 2065, 2065, 2065, 2065, 2065, 2065, 2065, 2065, 2065, 2065, 2065, 2065, 3025 (list; graph; listen)
OFFSET

0,2

COMMENT

a(n)>a(n-1) iff n is a 3-smooth number.

FORMULA

sign(a(n+1)-a(n))=A065333(n+1)

PROGRAM

(PARI) a(n)=if(n<1, 1, a(floor(n/2))*2+3*a(floor(n/3)))

CROSSREFS

Cf. A003586, A007731.

Sequence in context: A094553 A094079 A112558 this_sequence A081961 A096891 A001844

Adjacent sequences: A098969 A098970 A098971 this_sequence A098973 A098974 A098975

KEYWORD

nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), Oct 23 2004

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 November 27 14:50 EST 2009. Contains 167570 sequences.


AT&T Labs Research