login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A039304 Number of distinct quadratic residues mod 7^n. 1
1, 4, 22, 151, 1051, 7354, 51472, 360301, 2522101, 17654704, 123582922, 865080451, 6055563151, 42388942054, 296722594372, 2077058160601, 14539407124201, 101775849869404, 712430949085822, 4987016643600751, 34909116505205251 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

Number of distinct n-digit suffixes of base 7 squares.

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..200

FORMULA

a(n) = floor( (7^n+3)*7/16 ).

PROG

(MAGMA) [Floor((7^n+3)*7/16): n in [0..25]]; // Vincenzo Librandi, May 14 2011

CROSSREFS

Sequence in context: A112898 A111529 A189845 * A152404 A062817 A196275

Adjacent sequences:  A039301 A039302 A039303 * A039305 A039306 A039307

KEYWORD

nonn,easy

AUTHOR

David W. Wilson (davidwwilson(AT)comcast.net)

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 14:02 EST 2012. Contains 205811 sequences.