Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A064854
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A064854 Mod[Mod[Mod[5^n,4^n],3^n],2^n] +0
2
1, 0, 7, 0, 21, 37, 118, 56, 19, 428, 808, 3920, 2256, 15240, 28312, 46733, 128931, 251439, 434788, 645833, 1397733, 1179155, 7185704, 1551886, 33308648, 65879944, 121274199, 65829274, 228529703, 248939750, 799831532, 2835988891 (list; graph; listen)
OFFSET

1,3

COMMENT

A generalization of A002380 and A064536. It arises also as a coefficient (=c1) of 1^n=1 in a special (greedy) decomposition of 5^n into like powers as follows: 5^n=c4*4^n+c3*3^n+c2*2^n+c1*1^n.

LINKS

Harry J. Smith, Table of n, a(n) for n=1,...,200

FORMULA

n = 7: 5^7 = 78125 =4*[16384]+5*[2187]+12*[128]+118*[1], where a(7)=118, the last coefficient.

PROGRAM

(PARI) { for (n=1, 200, a=((5^n%4^n)%3^n)%2^n; write("b064854.txt", n, " ", a) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Sep 28 2009]

CROSSREFS

A002380, A064536, A064855, A060692, A064628-A064631.

Sequence in context: A067152 A052440 A167299 this_sequence A157779 A046273 A167317

Adjacent sequences: A064851 A064852 A064853 this_sequence A064855 A064856 A064857

KEYWORD

nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu), Oct 08 2001

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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research