Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A131955
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A131955 a(n) = sum of digits of (n!! + a(n-1)). +0
5
1, 3, 6, 5, 2, 5, 2, 17, 17, 23, 14, 23, 23, 23, 23, 23, 41, 41, 41, 41, 41, 50, 41, 59, 68, 59, 68, 59, 68, 86, 86, 104, 95, 95, 104, 86, 104, 86, 122, 95, 104, 113, 149, 95, 140, 95, 131, 122, 149, 140, 140, 113, 185, 149, 185, 149, 176, 194, 176, 185, 194, 194, 203 (list; graph; listen)
OFFSET

0,2

EXAMPLE

a(4)=6+4!!=6+8=14 -> Sum_digits(14)=5

MAPLE

P:=proc(n) local a, i, k, w; a:=0; for i from 1 by 1 to n do w:=0; k:=a+2^((1+2*i-cos(i*Pi))/4)*Pi^((cos(i*Pi)-1)/4)*GAMMA(1+1/2*i); while k>0 do w:=w+k-(trunc(k/10)*10); k:=trunc(k/10); od; a:=w; print(a); od; end: P(100);

CROSSREFS

Cf. A055263, A131954.

Sequence in context: A009782 A016615 A135097 this_sequence A019652 A099874 A011223

Adjacent sequences: A131952 A131953 A131954 this_sequence A131956 A131957 A131958

KEYWORD

easy,nonn

AUTHOR

Paolo P. Lava & Giorgio Balzarotti (ppl(AT)spl.at), Jul 31 2007

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 August 29 17:54 EDT 2008. Contains 143238 sequences.


AT&T Labs Research