Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A078670
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A078670 Number of times n appears among the decimal digits of (n!)!. +0
1
1, 1, 0, 4, 21, 169, 1504, 15755, 177333, 213789 (list; graph; listen)
OFFSET

1,4

EXAMPLE

a(4)=4 because 4 appears four times in (4!)! = 620448401733239439360000.

PROGRAM

(PARI) {mdcp(d, n)=local(a, c=0, L); L=length(Str(d)); if(L>1, a=2, a=1); while(n>0, if(n%(10^a)==d, n=floor(n/10); c++, n=floor(n/10); )); c } for(n=1, 10, print1(mdcp(n, n!!)", "))

CROSSREFS

Cf. A000197.

Adjacent sequences: A078667 A078668 A078669 this_sequence A078671 A078672 A078673

Sequence in context: A060072 A107872 A008858 this_sequence A065527 A041667 A132684

KEYWORD

base,more,nonn,new

AUTHOR

Jason Earls (zevi_35711(AT)yahoo.com), Dec 16 2002

EXTENSIONS

Added a(9) and a(10). - Ryan Leonel (ryan.leonel(AT)gmail.com), Oct 03 2008

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 October 6 16:13 EDT 2008. Contains 144667 sequences.


AT&T Labs Research