login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A153661 Triangle read by rows: R(n,k) = 2^(composite(n)-composite(k)) mod composite(n), 1<=k<=n. 3
1, 4, 1, 0, 4, 1, 5, 8, 2, 1, 4, 6, 4, 2, 1, 4, 4, 4, 8, 4, 1, 2, 4, 8, 4, 2, 4, 1, 8, 2, 8, 4, 2, 8, 2, 1, 0, 0, 0, 0, 0, 0, 4, 2, 1, 4, 10, 16, 8, 4, 10, 16, 8, 4, 1, 16, 4, 16, 8, 4, 16, 4, 12, 16, 4, 1, 11, 8, 2, 1, 11, 8, 2, 1, 11, 8, 2, 1, 14, 20, 16, 8, 4, 12, 14, 18, 20, 16, 4, 2, 1, 16, 16, 16, 8, 16, 16, 16, 8, 16, 16, 16, 8, 4, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

G. C. Greubel, Table of n, a(n) for n = 1..1035

EXAMPLE

Triangle begins:

1,

4, 1,

0, 4, 1,

5, 8, 2, 1,

4, 6, 4, 2, 1,

4, 4, 4, 8, 4, 1,

MAPLE

A153661 := proc(n, k) modp(2^(A002808(n)-A002808(k)), A002808(n)) ; end proc: # R. J. Mathar, Dec 15 2010

MATHEMATICA

Composite[m_] := FixedPoint[m + PrimePi[#] + 1 &, m + PrimePi[m] + 1]; a[n_, k_] := Mod[2^(Composite[n] - Composite[k]), Composite[n]]; Table[a[n, k], {n, 1, 15}, {k, 1, n}]; Flatten[%] (* G. C. Greubel, Aug 24 2016 *)

CROSSREFS

Cf. A000079, A002808, A175156.

Sequence in context: A216178 A122899 A223856 * A266392 A021713 A122388

Adjacent sequences:  A153658 A153659 A153660 * A153662 A153663 A153664

KEYWORD

nonn,tabl,easy,less

AUTHOR

Juri-Stepan Gerasimov, Dec 12 2010

EXTENSIONS

Terms corrected by R. J. Mathar, Dec 15 2010

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 16 21:46 EST 2020. Contains 331975 sequences. (Running on oeis4.)