Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A132385
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A132385 Number of distinct primes among the cubes mod n. +0
1
0, 0, 1, 1, 2, 3, 0, 3, 0, 4, 4, 4, 1, 2, 6, 5, 6, 1, 2, 7, 2, 8, 8, 8, 8, 2, 2, 2, 9, 10, 3, 10, 11, 11, 3, 2, 4, 5, 3, 11, 12, 4, 3, 13, 3, 14, 14, 14, 4, 14, 15, 4, 15, 4, 16, 5, 5, 16, 16, 16, 6, 6, 0, 17, 5, 18, 5, 18, 19, 5 (list; graph; listen)
OFFSET

1,5

COMMENT

This is to cubes A000578 as A132213 is to squares A000290.

It seems that the size of a(n) as compared to its surrounding elements is dependant on whether or not n is in A088232. If n is in A088232 the sequence assumes "big" values, otherwise the values will be "small". - Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Nov 24 2007

FORMULA

a(n) = Card{p = k^3 mod n, for primes p and for all integers k}.

EXAMPLE

a(10) = 4 because the cubes mod 10 repeat 0, 1, 8, 7, 4, 5, 6, 3, 2, 9, 0, 1, 8, 7, 4, 5, ... of which the 4 distinct primes are {2, 3, 5, 7}.

MATHEMATICA

Table[Length[Select[Union[Table[Mod[i^3, n], {i, 0, n}], Table[Mod[i^3, n], {i, 0, n}]], PrimeQ[ # ] &]], {n, 1, 70}] - Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Nov 12 2007

CROSSREFS

Cf. A000040, A000578, A132213.

Sequence in context: A002708 A059283 A128621 this_sequence A089235 A051910 A137998

Adjacent sequences: A132382 A132383 A132384 this_sequence A132386 A132387 A132388

KEYWORD

easy,nonn

AUTHOR

Jonathan Vos Post (jvospost2(AT)yahoo.com), Nov 07 2007

EXTENSIONS

More terms from Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Nov 12 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 July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research