Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A157279
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A157279 Product 1*2*...*r mod n, where r = integer part of sqrt(n). +0
1
0, 1, 1, 2, 2, 2, 2, 2, 6, 6, 6, 6, 6, 6, 6, 8, 7, 6, 5, 4, 3, 2, 1, 0, 20, 16, 12, 8, 4, 0, 27, 24, 21, 18, 15, 0, 17, 36, 18, 0, 23, 6, 32, 16, 0, 30, 15, 0, 42, 40, 42, 48, 5, 18, 35, 0, 24, 52, 25, 0, 38, 18, 0, 0, 20, 60, 53, 64, 24, 0, 63, 0, 24, 64, 45, 40, 49, 72, 30, 0, 0, 30, 4, 0 (list; graph; listen)
OFFSET

1,4

FORMULA

a(n) = (floor(sqrt(n)))! mod n.

EXAMPLE

a(17) = (floor(sqrt(17)))! mod 17 = (floor(4.12...))! mod 17 = 4! mod 17 = 24 mod 17 = 7.

PROGRAM

(MAGMA) [ Factorial(Floor(Sqrt(n))) mod n: n in [1..84] ];

CROSSREFS

Cf. A000142 (factorial numbers), A000196 (integer part of square root of n).

Sequence in context: A160762 A112968 A104588 this_sequence A010671 A088050 A058005

Adjacent sequences: A157276 A157277 A157278 this_sequence A157280 A157281 A157282

KEYWORD

nonn

AUTHOR

Thomas Kerscher (Thomas.Kerscher(AT)web.de), Feb 26 2009

EXTENSIONS

Edited and a(1) corrected by Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), May 27 2009

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 December 10 12:37 EST 2009. Contains 170569 sequences.


AT&T Labs Research